The <address> tag use to provide contact information on a page.It may include name,address,email,phone no.company name,etc. of the author of specific content on the website.The text between <address>/<address> usually show in italic font style.The <address> tag is includes in HTML5 tag.The <address> tag will typically be used in the header or the footer page.

YOu can understand how to use <address> tag by following example :-

e.g.

<header>
<hgroup>
<h3>लोग कम टैक्स नहीं चुकाते,
दरअसल सरकारें खर्च बहुत करती हैं।<h3>
<hgroup>
<<address>>by Jane Doe</<address>>
</header>

Result:-

लोग कम टैक्स नहीं चुकाते,
दरअसल सरकारें खर्च बहुत करती हैं।

by Jane Doe


The misconception about the <address> tag is that it may be used for postal <address>,just like

** This is not good! **
<address>
Dr.Amit<br/>
sanganer,jaipur/<br/>
Rajasthan-302029,/<br/>
Tel: +0141 XXX-XXXX
/<address>
</header>
.

We sholud not add postal <address> in <address> tag.

we can use in footer,just like:-

e.g.:-
<footer>
<address> <class="author">
<a title="Posts by Micheal" href="#">Micheal</a>
</address>
on <time datetime="2009-11-04" class="published updated">November 4th, 2009</time>
</footer>

Result:-



Please type your comment in comment box if you undeerstand about <address> tag and have any query regarding it. -

0 comments:

Post a Comment