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:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<address>Contact Us:<br>
<a href="mailto:example123@gmail.com">Example123@gmail.com</a></address>
<address>Contact Us:<br> <a href="mailto:example123@gmail.com">Example123@gmail.com</a></address>
<address>Contact Us:<br>

<a href="mailto:example123@gmail.com">Example123@gmail.com</a></address>

Example:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<!DOCTYPE html>
<html>
<body>
<address>
Contact Us at: <a href="mailto:hr@826.a00.myftpupload.com">w3schools</a>.<br>
Visit us at:<br>
w3schools.com<br>
1234, New Street<br>
XYZ
</address>
</body>
</html>
<!DOCTYPE html> <html> <body> <address> Contact Us at: <a href="mailto:hr@826.a00.myftpupload.com">w3schools</a>.<br> Visit us at:<br> w3schools.com<br> 1234, New Street<br> XYZ </address> </body> </html>
<!DOCTYPE html>
<html>
<body>
<address>
Contact Us at: <a href="mailto:hr@826.a00.myftpupload.com">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.