hCard

An hCard is an HTML implementation of the vCard - a virtual contact card commonly used in computerised address books.

An hCard could be implemented as follows:

<span class="vcard"><span class="fn n"><span class="given-name">James</span> <span class="family-name">Smith</span></span>, <span class="adr"><span class="street-address">55 The Street</span>, <span class="locality">London</span>, <span class="postal-code">SW1 1TR</span></span></span>.

The hCard format includes various classes, to allow text to be labeled and given appropriate meaning. This allows information, such as that shown above, to be interpreted by software, to provide further functionality.

Last updated on 19 March 2009, at 16:20.