HTML <address> tag
When writing in HTML (hypertext markup language), the <address> tag is a block element used to specify the contact information of an owner or author. If it is used within an <article> element, the <address> tag denotes contact info for that article. The <body> element describes the document's contact info. The following sections contain information about this tag, including an example of it in use and related attributes and browser compatibility.
Example code
<address>
Written by Mr. Hope.<br><br>
Visit us at:<br>
https://www.computerhope.com/<br><br>
Write us at:<br>
321 Fake Street<br>
Salt Lake City, UT 84121<br>
United States
</address>
Example result
Written by Mr. Hope.Visit us at:
https://www.computerhope.com/
Write us at:
321 Fake Street
Salt Lake City, UT 84121
United States
Attributes
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <address> tag does not have unique attributes, it utilizes all of the standard attributes.
Compatibility
Edge | Internet Explorer | Firefox | Safari | Opera | Chrome |
---|---|---|---|---|---|
All versions | 1.0+ | 1.0+ | 1.0+ | 5.12+ | All versions |
Author, Browser, Compatibility, Container tag, CSS, Owner, URL, Web design terms