Path // www.yourhtmlsource.comReference → <address>

<address>


The <address> element provides contact information for the author or owner of a document or article. This typically includes the author's name, email address, social media links, or physical address. It's commonly placed within an <article> element or in the page footer.

Clock This page was last updated on 2025-11-17



Syntax

<address>
  Contact information here
</address>

The element requires both opening and closing tags. Content can include text, links, and other inline elements but should not contain headings, sectioning content, or other address elements.

Attributes

  • Global attributes - The <address> element supports all global attributes such as id, class, style, lang, and dir.

The <address> element has no element-specific attributes.

Examples

Author Contact Information

<address>
  Written by <a href="mailto:author@example.com">John Doe</a>.<br>
  Visit us at: Example.com<br>
  123 Main Street, City, Country
</address>

Within an Article

<article>
  <h2>Article Title</h2>
  <p>Article content...</p>
  <address>
    Contact the author: <a href="mailto:jane@example.com">jane@example.com</a>
  </address>
</article>

In Page Footer

<footer>
  <address>
    <a href="https://twitter.com/example">@example</a> |
    <a href="mailto:contact@example.com">contact@example.com</a>
  </address>
</footer>

When to Use

Use the <address> element when:

  • Providing contact information for the page or article author
  • Displaying the document owner's contact details
  • Showing how readers can reach the content creator

Do not use <address> for:

  • General postal addresses that aren't related to contact information (use regular <p> elements)
  • Dates or times (use <time> instead)
  • Arbitrary contact information unrelated to the document's authorship

The content typically renders in italics by default in most browsers, though this can be changed with CSS.

  • <footer> - Often contains the address element
  • <article> - Can contain address for article-specific contact info
  • <a> - Used within address for email and website links
  • <time> - For publication dates (not to be confused with address)