[microformats-discuss] XHTML "id" attribute and microformats,
David Janes -- BlogMatrix
davidjanes at blogmatrix.com
Sun Oct 16 07:43:51 PDT 2005
I was thinking that some microformats should recommend the use of the
XHTML attribute "id" . Why? Because this allows us to make much more
powerful claims about facts on Internet. For example, consider the hCard
in the wild examples :
| Neil Dunn (http://www.ndunn.com) has published his rather good looking
Now, if Neil had marked the vcard on this page with an "id" -- i.e. the
vard looked like this
| <div class="vcard" id="NeilDunnHCard">
| ... the gory details ...
We would be able to make a more interesting statement:
| Neil Dunn's rather good looking hCard IS
There are many situations where this would be handy, not least of all
where there's many hCards on a page. I have a few other followup ideas
but I thought I'd get this one out there first.
The language of the recommendation is fairly simple:
| hCard blocks SHOULD have an XHTML "id" attribute.
More information about the microformats-discuss