Definition
The <address>
Tag is used to define a person or organization’s contact information. It can contain a wide range of contact information, such as a physical address, email, and phone.
Usage and Examples
The
<address
> element was initially intended to be used for a document’s author details. However, the latest HTML specification now permits its use for any address where “those addresses are in fact the relevant contact information”.It can be used for any contact information, including (but not limited to):
- Postal address
- Website address
- Email address
- Phone number
- Social media links
- Geographical coordinates
<address> Contact <a href="mailto:[email protected]">Jonathan</a>.<br> Write to us at:<br> Webmaster House<br> Cambridgeshire<br> UK </address>
The default styling is italic.
Attributes
The Address element only supports the Global Attributes.
Best Practices
- It should only contain contact information. Do not include introductory sentences.
- You should include the person or organization’s name for any contact information in the
<address>
element. - If you want to indicate the author of an article, you should include the
<address>
tag within<article>
tags.
Specification
Browser Support
Desktop
Chrome | Edge | Firefox | IE | Opera | Safari |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |
Mobile
Android Webview | Chrome Android | Firefox Android | Opera Android | iOS Safari | Samsung Internet |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |