HTML 5 <address> Tag
Example
Contact information for W3Schools.com:
<address>
Written by Shinetutorial.com<br />
<a href="mailto:us@example.org">Email us</a><br />
Address: Box 564, Disneyland<br />
Phone: +12 34 56 78
</address> |
View it » |
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.
Differences Between HTML 4.01 and HTML 5
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 <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|