Description
HTML element <address>
is used to define the author's contact information, which can help readers to contact the owner.
The contact information can be a physical address, email, phone number, URL, social media handle, etc.,
The below table summarizes its usage, contents, and version history.
Usage Details | |
Placement | It is displayed as a Block element (with contents displayed in italic). |
Contents | It can contain <p>, Inline elements, and text. |
Tags | Both opening and closing tags are required. |
Versions | HTML 2, 3.2, 4, 4.01, and 5 |
Syntax
<address> ... </address>
Examples
<address>
Random Codez<br>
123 Street, XYZ Avenue<br>
Phone: 11-222-333-4444<br>
Email: feedback@randomcodez.com
</address>
Attributes
The following table shows the list of supported and unsupported attributes for the <address>
tag.
Attribute Type | Details |
Tag-Specific Attributes | The tag <address> does not have any tag-specific attributes. |
Global Attributes | Like all other HTML tags, the tag <address> supports the HTML Global Attributes. |
Event Attributes | The tag <address> also supports the HTML Event Attributes. |
Browser Compatibility
The tag <address>
is supported in most modern browsers.
- Google Chrome 1+
- Internet Explorer or Edge 2+
- Firefox 1+
- Apple Safari 1+
- Opera 4+