HTML < address > Tag - Learn About Website | DaddyFile

0

HTML <address> Tag


Example

Contact information for Example.com:


<address>
Written by <a href="mailto:webmaster@example.com">Jon Doe</a>.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

Definition and Usage

The <address> tag defines the contact information for the author/owner of a document or an article.
If the <address> element is inside the <body> element, it represents contact information for the document.
If the <address> element is inside an <article> element, it represents contact information for that article.
The text in the <address> element usually renders in italic. Most browsers will add a line break before and after the address element.

Tips and Notes

Tip: The <address> tag should NOT be used to describe a postal address, unless it is a part of the contact information.

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.

Post a Comment

 
Top