HTML Tutorial

HTML Tag: <address>

The HTML <address> tag defines the contact information for the author or owner of a document or article.

Usage of <address>

  • Use the <address> tag to provide contact information for:
    • Authors of articles
    • Owners of websites
    • Contact persons for organizations

Attributes of <address>

The <address> tag has no attributes.

Examples with <address>

<p>
  This article was written by John Doe.
</p>
<address>
  John Doe<br>
  123 Main Street<br>
  Anytown, CA 12345<br>
  (123) 456-7890
</address>

In this example, the <address> tag provides contact information for the author of the article.

Exploring the <address> Tag

To explore the <address> tag in action, you can use the following HTML code:

<!DOCTYPE html>
<html>
<head>
  <title>Exploring the &lt;address&gt; Tag</title>
</head>
<body>
  <h1>Contact Information</h1>
  <address>
    John Doe<br>
    123 Main Street<br>
    Anytown, CA 12345<br>
    (123) 456-7890
  </address>
</body>
</html>

When you open this HTML file in a web browser, you will see the contact information for John Doe displayed on the page.