HTML address Tag

HTML <address> Tag: The address tag defines the contact information of the author. If the <address> element is present inside <body> element, it represents the contact information for that document. The address tag supports Global and Event attributes. Browsers give the line break before and after the <address> element.



HTML <address> Tag

If the <address> element is present inside an <article> element, it represents the contact information of that article. <address> tag belongs to Flow Content and Palpable Content Category. The <address> tag supports both the global and event attributes.

Syntax: <address> Address… </address>

Browser compatibility

The <address> tag is supported by  different types of browsers.

  • Chrome
  • Firefox
  • Safari
  • InternetExplorer
  • Opera

Example:

<!DOCTYPE html>
<html>
<body>
<address>
Written by <a href="mailto:webmaster@example.com">Freshersnow</a>.<br> 
Freshersnow, D.No 40-7/3-7/1
Tikkle Road, Labbipet, Vijayawada, Andhra Pradesh. <br>
</address>
</body>
</html>

Output:

Written by Freshersnow.
Freshersnow, D.No 40-7/3-7/1 Tikkle Road, Labbipet, Vijayawada, Andhra Pradesh.