[uf-discuss] That pesky abbrevation tag (yet again)

Jim O'Donnell jim at eatyourgreens.org.uk
Sat Jan 5 06:31:41 PST 2008


Hello,

There are couple of markup examples on the hcard examples page which  
don't make sense semantically. The URL is
http://microformats.org/wiki/hcard-examples#3.2.1_ADR_Type_Definition
where you can see
<div class="adr">
  <abbr class="type" title="dom">US</abbr>
  <span class="type">home</span> address, for
  <abbr class="type" title="postal">mail</abbr> and
  <abbr class="type" title="parcel">shipments</abbr>:
  <div class="street-address">123 Main Street</div>
  <span class="locality">Any Town</span>, <span class="region">CA</ 
span>,
  <span class="postal-code">91921-1234</span>
</div>

and immediately below it
Please use the following address label for
<div class="label">
  <abbr class="type" title="dom">local delivery</abbr>
  <abbr class="type" title="home">to my home</abbr>
  <abbr class="type" title="postal">of mail</abbr>
  <abbr class="type" title="parcel">and packages:</abbr>
<pre>
Mr.John Q. Public, Esq.
Mail Drop: TNE QB
123 Main Street
Any Town, CA  91921-1234
U.S.A.
</pre>
</div>

None of the <abbr> tags are being used to mark up abbreviations,  
except maybe for 'US" where the expansion should be 'United States',  
not 'dom'.

Is there a way of setting out these examples using semantic HTML? I'm  
worried that people, particularly those new to microfomats, will see  
that microformats.org supports semantic HTML and thus infer that  
examples, like these, on the wiki are written in semantic markup.  
These, quite clearly, are not.

Cheers
Jim

Jim O'Donnell
jim at eatyourgreens.org.uk
http://eatyourgreens.org.uk
http://flickr.com/photos/eatyourgreens





More information about the microformats-discuss mailing list