W3Schools.com

HTML5 <address> Tag

Example

Contact information for W3Schools.com:

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

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <address> tag is supported in all major browsers.


Definition and Usage

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

If the <address> element is inside the <body> element, it represents contact information for the document.

If the <address> element is inside an <article> element, it represents contact information for that article.

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


Differences Between HTML 4.01 and HTML5

HTML 4.01 does not support the <article> tag, so in HTML 4.01 the <address> tag always defines the contact information of the document's author/owner.


Tips and Notes

Tip: The <address> tag should NOT be used to describe a postal address, unless it is a part of the contact information.

Tip: The <address> element will typically be included along with other information in a <footer> element.


Global Attributes

The <address> tag also supports the Global Attributes in HTML5.


Event Attributes

The <address> tag also supports the Event Attributes in HTML5.


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE