By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

HTML Address Tag

Reference on how to use the address element of HTML. Includes a demo, and a list of allowed attributes.

Edited: 2014-12-28 07:13

The HTML address element is used to supply users with contact information. The address tags should only be used to markup contact information, which is relevant to the parent article.

Relevant contact information, is usually the contact information for whoever wrote, or currently maintains the article or page.

If you don't use article elements, then address will simply count as contact information for body instead. In case you have multiple articles on the same page, with different authors or maintainers, you might want to start using article elements.

Attributes

Attribute: Value: Description:
Attributes Global Attributes Global, Event, I18n

Example

<!DOCTYPE html>
<html lang="en-US">

  <head>
    <title>Demo of how to use the address element of HTML</title>
  </head>

  <body>
   <article>
    <h1>The address element</h1>

    <p>This is a larger article, talking about the address element, how its used, and what attributes are allowed.</p>

    <address>
     Contact the Author <a href="/users/BlueBoden/Profile">BlueBoden</a>,
     Contact <a href="/Infrastructure/contact">Brugbart</a>
    </address>

   </article>
   <article>
    <h1>Another demo of the address element</h1>

    <p>This is another article on the same page, to show how to markup multiple articles.</p>

    <address>
     Contact the Author <a href="/users/BlueBoden/Profile">BlueBoden</a>,
     Contact <a href="/Infrastructure/contact">Brugbart</a>
    </address>

   </article>
  </body>

</html>

Brugbart Vision!