THE ADDRESS TAG AND HCARD MICROFORMAT

Example of right usage (and wrong usage) of the HTML5 address tag.

This tag should be used only to specify addresses concerning the web page itself (e.g. the author of the page, or the Web Master). The address should not be used to specify generic postal addresses, unless such address is the relevant contact information for the document (or section of the document).

If we need to describe a generic postal address, used the hCard format instead (see also microformat).

To see the markup code click on the Show markup label below.

Right usage (address)

by
Stefano Adriani
on
Right usage (address)

For more information contact:
Stefano Adriani
Morpheus
G.R.A.A.L.
Wrong usage (address)

Dr. John Smith
Dummy Software inc.
Dummyville
Great Britain
Tel: +44 (0) 123 45678
Right usage (hCard)

Dr. John Smith

Dummy Software inc.
Dummyville
23801
Great Britain

+44 (0) 123 45678

Show markup