Address tag use in HTML. | CodingSource

Address tag use in HTML.

How to use the <address> tag in the html site and where should the code be added. The <address> tag is supported by all popular browsers.

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

The <address> tag identifies the contact information of the author/owner of the document or article.

If defined within the <body> tag, it specifies the document's contact information.

If defined within the <article> tag, it specifies the contact information for that article.

Text within the <address> tag is usually shown in italics. Most browsers add a line break before and after the address tag.

Css of address

address {

  display: block;

  font-style: italic;

}

The <article> tag is not supported in HTML 4.01. That's why in HTML 4.01 this description always defines the document's information.

Html Codes Related Posts

Newer Post Load More Pages..