[thelist] marking up an address

Alastair Campbell ac at alastc.com
Mon Aug 7 10:22:08 CDT 2006


M. Seyon wrote:
> I'm curious what markup people are applying to addresses.

For a physical address, the nearest useful standard is probably the 
hCard one in microformats, for example:
http://microformats.org/wiki/hcard-examples#Organizations_and_Departments

In terms of pure HTML, there isn't much relevant, the <address> element 
is intended for the head of the doc, rather than the body.

You could use a definition list with the name in the <dt>, the address 
in a <dd>, and phone and fax in a <dd> each.

Just a thought...

-Alastair



More information about the thelist mailing list