[uf-discuss] Massive use of hCard - need validation and discussion

Andy Mabbett andy at pigsonthewing.org.uk
Sat Dec 30 05:31:06 PST 2006


In message <6.2.3.4.2.20060210135641.060a7520 at mail.brain-stream.net>,
B.K. DeLong <bkdelong at pobox.com> writes

>I'm curious if each organization I reference can be marked up with
>class="vcard", class="org", without further context.

Not quite. "fn" is a requirement.

At a minimum, you need:

        <span class="vcard"><span class="fn org">Acme,
        Inc.</span></span>

Note that you need two wrappers, but that they need not be spans. For
instance, the outer one might be "li" or "p".

You may find the hCard cheat-sheet useful:

        <http://microformats.org/wiki/hcard-cheatsheet>

-- 
Andy Mabbett

                        Merry Bloomin' Christmas!


More information about the microformats-discuss mailing list