representative hCard authoring

Revision as of 22:20, 20 July 2018 by GRegorLove (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)

Jump to: navigation, search


See latest version: representative-h-card-parsing

To publish a representative hCard on a page, in addition to properly following hcard-authoring instructions, you need to do at least one of two of the following (you can do both).

1. hyperlink to the page itself, perhaps around your icon or name (or both), and use both the "uid" and "url" class names in the class attribute on the hyperlink. e.g.:

<span class="vcard">
 <a href="http://tantek.com/" class="url uid fn">Tantek Çelik</a>
</span>

2. markup your links to other profiles with both rel="me" and the "url" class name. e.g.:

<span class="vcard">
 <span class="fn">Tantek Çelik</span> 
 (<a href="http://twitter.com/t" rel="me" class="url">my Twitter</a>)
</span>

Or better yet do both:

<span class="vcard">
 <a href="http://tantek.com/" class="url uid fn">Tantek Çelik</a>
 (<a href="http://twitter.com/t" rel="me" class="url">my Twitter</a>)
</span>

which has the following advantages over either individual example above:

see also

representative hCard authoring was last modified: Wednesday, December 31st, 1969

Views