Horje
HTML <address> Tag

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> element.



HTML Contact information for HTML <address> Tag

Follow the Example
Example: HTML
<address>
Written by <a href="mailto:[email protected]">Jon Doe</a>.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

Output should be:

HTML Contact information for HTML <address> Tag

Browser Support for HTML <address> Tag

Output should be:

Browser Support for HTML <address> Tag

Default CSS Settings for <address> Tag

Change the default CSS settings to see the effect. An address element is displayed like this:
index.html
Example: HTML
<style>
address { 
  display: block;
  font-style: italic;
} 
</style>
<p>An address element is displayed like this:</p>
<address>
Written by <a href="mailto:[email protected]">Jon Doe</a>.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

Output should be:

Default CSS Settings for <address> Tag





Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference