<address> contains contact information for a person or organization associated with the nearest article or, otherwise, the document. It can include a name, email, telephone number, or postal address.
Author contact
The visible name identifies whose contact information follows. These addresses are examples, not real contact details.
HTML and CSS
HTML
<article>
<h1>Building a reading nook</h1>
<p>Choose a comfortable chair and a lamp you can reach.</p>
<footer>
<address>
Article by Alex Example<br /><a href="mailto:alex@example.com"
>alex@example.com</a
>
</address>
</footer>
</article>
CSS
address {
font-style: normal;
line-height: 1.6;
}
Edit HTML or CSS to update the preview as you type. Copy code snippet copies the selected tab. Preview spacing and font defaults are not included.
Placement and alternatives
Use it in a page or article footer when those contact details are relevant. A historical address mentioned in a story is ordinary content, not necessarily <address> contact information.
It accepts flow content, but not headings, sectioning elements, another <address>, <header>, or <footer>. Put an introducing heading outside it. Its usual italic presentation can be changed with CSS without changing the meaning.
Email and telephone links can launch another application. Use a with meaningful text and real destinations in your own page. The sandboxed example cannot navigate the host website.
Sources and browser support
MDN: address describes the syntax and links to the specification and compatibility data. Check individual values in that table when supporting older browsers.