HTML5 <address> Tag

The HTML <address> tag is used to provide the contact information for its nearest <article> or <body> ancestor. In case of the <body> tag, the address applies to the whole document.

The only content permitted inside this element is Flow content. The Flow content category includes elements that typically contain text or embedded content. However, there should still be no nested <address> element, no heading content (<hgroup>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>), no sectioning content (<article>, <aside>, <section>, <nav>), and no <header> or <footer> element.

Both the starting and ending tag are required for this element. The parent of the <address> tag can be any element that accepts flow content. However, you can never use nested <address> tags.

The following style is applied to this element by default:

address {
  display: block;
  font-style: italic;
}

This element should not contain anything else other than the contact information, like a publication date (which belongs in a <time> element).

Here is a basic example of using this tag:

<address>
You can contact author at <a href="http://www.twitter.com/tutorialio">@tutorialio</a>.<br>
If you see any bugs, please send a <a href="mailto:nowhere@tutorialio.com">mail to nowhere</a>.<br>
You may also want to visit us:<br>
Tutorialio Foundation<br>
1981 Tutorialio Lane<br>
Building T<br>
Coding Valley, Some State ZIP-CODE<br>
The World
</address>

Attributes

The <address> tag does not have any special attributes besides global attributes.

Examples

See the Pen HTML address Tag by Tutorialio (@tutorialio) on CodePen.

Further Reading

  1. Read more about the HTML <address> element on MDN.
  2. You can also read the HTML <address> tag reference on W3C.

Reader Comments

1. You can register or login to post a comment. Asking readers to register improves the quality of discussion.

2. As a registered user, you will also get to access features like choosing between a light and dark theme or anything else that we might implement in future.

Follow Us For Updates

FacebookTwitterGoogle+
Go To Top