HTML Reference Β· Sections
The <address> element
Reference for the HTML <address> element: marking contact details for a page or article, what it is not for, accessibility notes, examples and technical details.
The <address> element holds contact information for the people or organization responsible for its nearest <article>, or for the whole page if it isn't inside an article. That can be an email address, a phone number, a link to a contact form, social profiles, or a postal address of the author.
<address> Questions? Write to <a href="mailto:[email protected]">[email protected]</a>. </address>
Try it
The first <address> belongs to the article's author; the second, outside any article, describes who runs the whole site. Browsers render both in italics by default.
Attributes
This element has no attributes of its own. It accepts the global attributes.
Usage notes
- Contact info, not any address. Use
<address>only for the contact details of the content's owner. A shop's location in a list of stores, or an address mentioned in a story, is ordinary text in a<p>. - Keep other content out. Dates, copyright notices and bylines without contact details belong elsewhere, typically in a
<footer>next to the address. Publication dates go in a<time>. - No headings or sections inside. It may not contain headings, sectioning elements,
<header>,<footer>or another<address>. - Line breaks are fine. Postal addresses are one of the few good uses of
<br>, because the line breaks are part of the content. - Accessibility. The element maps to a
grouprole, and most screen readers say nothing special about it, so make the link text itself clear ("Email Ana", not "click here"). - Remove the italics with
address { font-style: normal; }if they don't suit your design.
Technical summary
| Content categories | Flow content, palpable content |
| Permitted content | Flow content, but no heading content, sectioning content, <header>, <footer> or <address> descendants |
| Tag omission | None; both the start and end tags are required |
| Permitted parents | Any element that accepts flow content |
| Implicit ARIA role | group |
| DOM interface | HTMLElement |
| Default display | block (with font-style: italic) |
Browser support
Supported in every browser.
Related
<footer>β where contact details usually sit<article>β the content an address can belong to<a>βmailto:andtel:links- Lessons: Semantic Elements, Email, Phone and Download Links