[uf-discuss] That pesky abbrevation tag (yet again)
csarven at gmail.com
Sat Jan 5 11:10:19 PST 2008
As far as I know, the examples are focused more on the "type"s that
are being used instead of semantic markup.
I wrote this bit a while ago, perhaps it can be used:
I agree examples should be as semantic as possible, however there are
many instances where the formats are not bound to any particular
element(s) as far as semantics are concerned. For instance, hCard
information can be presented in <address> or <table> or <li> tags.
Therefore, it may be more appropriate to suggest that semantic markup
should be used in context of the document.
On Jan 5, 2008 9:31 AM, Jim O'Donnell <jim at eatyourgreens.org.uk> wrote:
> There are couple of markup examples on the hcard examples page which
> don't make sense semantically. The URL is
> 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 class="postal-code">91921-1234</span>
> 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>
> Mr.John Q. Public, Esq.
> Mail Drop: TNE QB
> 123 Main Street
> Any Town, CA 91921-1234
> 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.
> Jim O'Donnell
> jim at eatyourgreens.org.uk
> microformats-discuss mailing list
> microformats-discuss at microformats.org
More information about the microformats-discuss