Providing Contact Information with address element

Description

The address element marks contact information for a document or article element.

When the address element is a descendant of an article element, it is assumed to provide contact information for that article.

When an address element is a child of a body element and there is no article element between the body and address elements, the address is assumed to provide contact information for the entire document.

You should not use this element to mark addresses of customers or users.

Example

The following code shows the address element in use.


...
<body>
<header>
<h1>Things  I like</h1>
<h2>by java2s.com</h2>
<address>
Questions and  comments? <a href="mailto:info@example.com">Email me</a>
</address>
</header>
<article>
<header>
<hgroup>




















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed