Address HTML, CSS Tag Examples, Tuotorials

<address> HTML, CSS Tag Examples, Tutorials


Definition and Usage

The <address> tag defines the contact information for the author/owner of a document or an article.


The contact information can be an email address, URL, physical address, phone number, social media handle, etc.


The text in the <address> element usually renders in italic, and browsers will always add a line break before and after the <address> part.


The <address> tag in HTML indicates the contact information of a person or an organization. If <address> tag is used inside the <body> tag then it represents the contact information of the document and if the <address> tag is used inside the <article> tag, then it represents the contact information of the article. The text inside the <address> tag will display in italic format. Some browsers add a line break before and after the address element.


Syntax: 


<address> Address... </address>


Example;

Contact information for Example.com:


<address>

Written by <a href="lorino:freelancer@example.com">Jon Doe</a>.<br>

Contact us at:<br>

Example.com<br>

Box 456, London<br>

England

</address>



Try it with the Html editor

Comments :

Post a Comment