address (HTML element)

Spec
Depr. Empty Version
No No HTML 2
Browser support (more…)
IE5.5+ FF1+ SA1.3+ OP9.2+ CH2+
Full Full Full Full Full

Syntax

<address>
</address>

Description

The address element isn’t used for the purpose that you may expect—that being to mark up a physical location alone. Instead, it’s used to indicate the contact point for the document in which it appears. This element would usually appear in a header or footer on the page.

An address element may contain a geographic location, but it doesn’t have to; it could also contain a mixture of contact points. In the example shown, the address element includes an email point of contact, a mailing location, and a telephone number. For the purposes of marking up a geographic location that may be machine readable, and usable in other services, you should consider marking up the physical location details using the hCard Microformat.

Example

The contact details of the “Editorial and News Team” are marked up with address in this example:

<address>Brought to you by the Editorial and News Team:<br/>
  <a href="mailto:news@example.org">Email the news team</a><br/>
  Mail us at PO Box 123, Citysville<br/>
  Tel +1 212 3131
</address>

Use This For …

This element is used to mark up contact details for the author or owner of the document, in order that the reader may use these details to contact the document’s owner.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 3.0 3.5 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full

All the browsers tested styled the content inside the address element in italics. There’s no suggestion in the HTML specification that they should do anything else with this element, and support is stated as full.

User-contributed notes

Related Products