HTML <address> tag
What is the function of <address> tag?
<address> tag defines the important information in pertinent with the current page or article or section or a document.
Particularly, it specifies the contact information of any related document. By Default, they are not associated with any attributes.
Type: Block Element
Example of <address> tag
<address> Written by Swamikanta Longjam </address>
Generally, the texts within the <address> element will be italic and small font-size.
Full Code Examples
<h3> www.myhtml5tutorials.com </h3>
Author: Swamikanta Longjam <br>
Address: Top Siphai, Wangoi <br>
Author: Swamikanta Longjam
Address: Top Siphai, Wangoi
By default, every browsers give a line break before and after <address> element.
You should take caution while using the <address> tag such that you should not use this tag for making style in a postal address. Use <p> or <div> element along with CSS properties to style them.
At least try to use this element at the footer section.
Note that <address> element should be used to provide contact Info like Social Media URLs, Email etc. which relates to the current page or article.