This reference is built into PageRIJ — a live HTML, CSS & SVG authoring and learning environment.

HTML <address> element

The <address> element represents contact information for the nearest <article> or for the page as a whole. It is not a general-purpose element for any address that happens to appear in the text.

If the element is inside an <article>, the contact information belongs to that article. If it is not inside an article, it normally applies to the whole document. This is why <address> often appears within a page or article <footer>.

The contact information may include a name, email link, website link, social link, telephone number, organisation, or postal address, provided that this is contact information for the relevant page or article.

The common mistake is to use <address> for every postal address. A restaurant location, a delivery destination, a historical address, or an address in a story is not automatically suitable. If it is not contact information for the document or article, ordinary paragraphs or other elements are usually better.

The element should not contain unrelated information such as copyright notices, last-modified dates, navigation links, or general footer text. Those may sit near an <address> element, but they are not contact information themselves.

The element can contain flow content, but it must not contain headings, sectioning elements such as <article> or <section>, a <header>, a <footer>, or another <address>. A footer may contain an address, as shown below, but cannot be placed inside one.

Attributes: GLOBALS.

Typical layout:
<footer>
  <address>
    Contact
    <a href="mailto:hello@example.com">hello@example.com</a>
  </address>
</footer>
Visual representation: