HTML Tags

HTML <address> Tag

The <address> tag in HTML is used to define contact information for the author or owner of a document or article.
It typically contains details such as name, email, physical address, phone number, or website URL.
Browsers usually render it in italic text and often add a line break before and after it.

Syntax

html

<address>
  Contact information goes here
</address>

Attributes

AttributeDescription
classSpecifies one or more class names for CSS styling.
idDefines a unique identifier for the element.
styleAdds inline CSS styles.
titleProvides additional information as a tooltip when hovered.

Example

html

<!DOCTYPE html>
<html>
<head>
  <title>Address Tag Example</title>
  <style>
    address {
      font-style: italic;
      background-color: #f8f9fa;
      border-left: 4px solid #29AB87;
      padding: 10px 15px;
      width: fit-content;
    }
  </style>
</head>
<body>
  <h1>HTML <address> Tag Example</h1>
  
  <p>For more information, contact us at:</p>
  
  <address id="contact-info" class="office-address" style="color:#2c3e50;">
    <strong>HTML5 and CSS3 Organization</strong><br>
    45, Tech Park Road, New Delhi - 110001<br>
    Email: <a href="mailto:info@html5andcss3.org">info@html5andcss3.org</a><br>
    Website: <a href="https://html5andcss3.org" target="_blank">https://html5andcss3.org</a><br>
    Phone: +91-9876543210
  </address>
</body>
</html>

Output

Browser Output

html

Use our TryIt Editor to see the output.

Browser Support

Chrome
Edge
Firefox
Safari
Opera
IE9+
YesYesYesYesYesYes

The contact information appears in italic style and may include links, line breaks, and structured details.

Notes

  • The <address> element should represent contact information for its nearest <article> or <body> ancestor.
  • It should not be used for general physical addresses unrelated to document authorship.
  • Text inside <address> is typically italicized, but this can be changed using CSS.
  • Can include multiple child elements such as <a>, <br>, and <strong> for better structure.

Conclusion

The <address> tag provides a semantic and accessible way to display contact details of a webpage’s author or organization.
It helps users and search engines identify the owner or author’s information clearly.