address element

If you don't know what an element is or how you must use it, I recommend you read the "HTML tags and attributes" tutorial that you can find in the HTML tutorials section.

Description

The content of an address element provides contact information about the author of the section or documento, like a postal address, an e-mail address, a telephone number, a city, a country, a postal code, etc.

If this element is placed inside a sectioning element (like article or section) it's assumed that the contact information it provides is abour the authro of that section. Otherwise, it represents contact information about the author of the document.

The address element shouldn't be used to represent any address information. Only the relevant contact information about the author of the document/section belongs in the address element.

Examples

The following example shows basic contact information (name, e-mail, address, city and telephone number) provided inside an address element.

<address>
  Jhon Smith<br>
  <a href="mailto:jhons54684@example.com">jhons54684@example.com</a><br>
  107 Springtime Boulevard<br>
  Mountain View, CA<br>
  +256 4481-546585
</address>
Jhon Smith
jhons54684@example.com
107 Springtime Boulevard
Mountain View, CA
+256 4481-546585

An address element can provide less information and be placed inside a footer (where it usually is). The next example shows the footer of an article, with the contact information of its author.

<article>
  <h1>The good life</h1>
  <p>I often think about what pushes people to move forward...</p>
  <footer>
    <address>
      Sean Mercatore<br>
      seanmercatore654687@wowwwwwwww.com
    </address>
    <p>© All rights reserved</p>
  </footer>
</article>

The good life

I often think about what pushes people to move forward...

Sean Mercatore
seanmercatore654687@wowwwwwwww.com

© All rights reserved

Attributes

Global attributes

For information about global attributes refer to this list of global attributes in HTML5.

Events

Global events

For information about global events refer to this list of global events in HTML5.