representative h-card authoring

(Difference between revisions)

Jump to: navigation, search

GRegorLove (Talk | contribs)
(h-card-specific version)
Next diff →

Revision as of 22:19, 20 July 2018


To publish a representative h-card on a page, in addition to properly following h-card-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 u-url and u-uid class names in the class attribute on the hyperlink. e.g.:

<span class="h-card">
 <a href="http://tantek.com/" class="u-url u-uid">Tantek Çelik</a>
</span>

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

<span class="h-card">
 <span class="p-name">Tantek Çelik</span> 
 (<a href="http://twitter.com/t" rel="me" class="u-url">my Twitter</a>)
</span>

Or better yet do both:

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

which has the following advantages over either individual example above:

see also

representative h-card authoring was last modified: Wednesday, December 31st, 1969

Views