Address HTML

HTML <address> Tag

To specify the information related to the author of an article or a webpage, the HTML <address> tag is used. Any content such as URL, physical address, phone number, email, other links, etc. that is required can be added within this tag. It is thus important for contexts like business contact information or author-related contact information. It usually renders the contents in the italic format on the browser. The <address> tag is placed inside the <article> element, to specify the information of the author of an article.

Syntax:

<address>Contact Us:<br>

<a href="mailto:[email protected]">[email protected]</a></address>

Example:

<!DOCTYPE html>
<html>
<body>
<address>
Contact Us at: <a href="mailto:[email protected]">w3schools</a>.<br> 
Visit us at:<br>
w3schools.com<br>
1234, New Street<br>
XYZ
</address>
</body>
</html>

Explanation:

In the above example, we use the HTML <address> tag to display the contact address on an HTML page.

Attributes:

There is no specific attribute for the HTML <address> tag.

Global Attribute:

The HTML global attributes are supported by the <address> tag.

Event attribute:

All the HTML event attributes are supported by the <address> tag.

Supporting Browsers:

Chrome, IE, Firefox, Opera, and Safari.