HTML5 <address> Tag
ExampleContact information for w3tutors.com:
Try it yourself » |
Definition and Usage
The <address> tag defines the contact information for the author or owner of a document.
If the <address> element is inside an <article> element, it represents the contact information of the author/owner of that article.
The address element is usually added to the header or footer of a webpage.
Differences Between HTML 4.01 and HTML5
HTML 4.01 does not support the <article> tag, so in HTML 4.01 the <address> tag always defines the contact information of the document's author/owner.
Tips and Notes
Note: The <address> tag should NOT be used to describe a postal address, unless it is a part of the contact information.
Note: The address usually renders in italic. Most browsers will add a line break before and after the address element.
Standard Attributes
The <address> tag also supports the Standard Attributes in HTML5.
Event Attributes
The <address> tag also supports the Event Attributes in HTML5.