<address> HTML Tag
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Element of
- What On Earth Is Semantic Markup? (And Why Should You Learn To Write It)
- What does
<address> HTML Tag
do? - The <address> element identifies contact information relevant to the current site, page, document, section, or article. It should not be used to identify addresses in any other context.
- Display
- block
- Usage
- semantic
Code Example
<address>
You can contact us directly at <a mailto="[email protected]">[email protected]</a>.
</address>
You can contact us directly at [email protected].
Contact Information, not Arbitrary Addresses
The <address>
element should be used to provide context-specific contact information (email, mailing address, social media URLs, etc.) relevant to the author of the current site, page, document, section, or article. For example, in a multi-author blog, you might include an <address>
element with the author’s contact information within the <article>
element that contains the post. For contact information related to a whole website, you might use in the <footer>
of each page, or even on a stand-alone Contact
page.
You must not use the <address>
element as a general styling element for arbitrary postal addresses. Use a <p>
for that and (if you need to) use CSS for address-specific styling.
<p class="postal-address">
123 Main St. <br>
Anytown, XY 12345
</p>
Browser Support for address
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
All | All | All | All | All | All |