[uf-discuss] locality sans adr;abbr for state/country etc?

brian suda brian.suda at gmail.com
Mon Jan 16 13:47:03 PST 2006


David Janes -- BlogMatrix wrote:

>
> If you were to do this (I'm not saying it's a good or bad idea)
> wouldn't you do it the other way, with the machine readable data
> inside the title?
>
> <abbr class="region" title="CA">California</a>,
> <abbr class="country" title="US">U.S.A.</abbr>


except by definition of the ABBR element, the text node is the short
form. So it would have to be
<abbr class="region" title="California">CA</abbr>

you could do

<span class="region" title="CA">California</span>

and that is both valid HTML and the microformat parser should use
"California" in this instance.

-brian


More information about the microformats-discuss mailing list