#1 Data Analytics Program in India
₹2,499₹1,499Enroll Now
3 min read
•Question 41 of 49easy

What is the Address Element?

Contact information markup.

What You'll Learn

  • Using the address element
  • Contact information markup
  • Proper placement

The Address Element

The <address> element marks contact information for the document or article author. It's semantic markup that helps identify how to reach the content owner.

Use Cases

  • Email addresses
  • Physical addresses
  • Phone numbers
  • Social media links

Examples

index.htmlHTML
<!-- Page footer contact -->
<footer>
  <address>
    Contact us at <a href="mailto:hello@example.com">hello@example.com</a>
    or call <a href="tel:+1234567890">+1 234 567 890</a>
  </address>
</footer>

<!-- Article author -->
<article>
  <h1>Article Title</h1>
  <footer>
    <address>
      Written by <a href="mailto:author@blog.com">John Doe</a>
    </address>
  </footer>
</article>

Note

Don't use for arbitrary addresses in content. Only for author/owner contact info.