HTML <address> tag
The <address> tag defines the important information in pertinent with the current page or an article or a 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> tag will be in italic style and small font-size.
Supported Browsers
| Tag | Chrome | Internet Explorer | Firefox | Safari | Opera Mini |
|---|---|---|---|---|---|
| <address> | Yes | Yes | Yes | Yes | Yes |
Full code example
<!DOCTYPE html> <html> <head> </head> <body> <h3> www.learncodinghub.com </h3> <address> Author:Swamikanta Longjam, <br> Address:Top Siphai, <br> Manipur, <br> India <br> </address> </body> </html>
Output on the browser
www.learncodinghub.com
Author:Swamikanta Longjam,Address:Top Siphai,
Manipur,
India
By default, every browser gives a line break before and after <address> element.
More reference
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 it inside the <footer> section.
Note that <address> element should be used to provide contact Info like Social Media URLs, Email etc. related to the current page or document.
