HCard

From FAMEPedia, The free encyclopedia
Jump to navigation Jump to search

hCard is a simple, open format for publishing people, companies, organizations on the web, using a 1:1 representation of vCard (RFC2426) properties and values in HTML. Whenever you need to display the contact details of an individual or an organisation, you can use a special set of HTML class attributes defined in a microformat known as hCard.

What are Microformats?[edit | edit source]

There are many kinds of microformats, each of which is designed to provide standardised ways to represent information, with the aim of making it machine-readable (allowing it to be used by programs that access this kind of data). Other examples include hCalendar for calendar events, hReview for ratings and reviews, and hRecipe for cooking recipes.

What is hCard?[edit | edit source]

hCard provides a standardized set of values for the class attribute, used to convey contact information such as names, addresses, telephone numbers, email addresses, IM names, and organisation names (such as work places). It is based on vCard, which is a popular format for contact information used in software such as Microsoft Outlook and the Apple address book.