In this section, we will discuss usage of <address> tag and how to implement this.
The <address> tag is used for defining the contact information of the author of the document or the section of the document. the address tag writes the information usually in italic font style. the address tag may have the information about the Name of the document owner, link to author web page, E-mail, postal address, phone number etc.
The address tag is must not be used for describing the postal address and email address because it is not appropriate for all postal and email address. If the address tag is used within body element, it shows the ownership of the whole document and when used within article, it shows the ownership of the particular article.
There is no specific attributes in address tag ,only the common html attributes can be used.Declaration syntax:
|<address>Content of address</address>|
We implement the address tag as follows:
|<!DOCTYPE html >
<title> Example of address tag</title>
<a title="Posts by deepak" href="mailto:firstname.lastname@example.org">
August 14th, 2010
Note: See the browser compatible page for successfully rendering the program.
Recommend the tutorial