The contact information provided by an <address> element's contents can take whatever form is appropriate for the context, and may include any type of contact information that is needed, such as a physical address, URL, email address, phone number, social media handle, geographic coordinates, and so forth. The <address> element should include the name of the person, people, or organization to which the contact information refers. However, this element should not contain more information than the contact information, like a publication date (which belongs in a <time> element).
<address> can be used in a variety of contexts, such as providing a business's contact information in the page header, or indicating the author of an article by including an <address> element within the <article>. The <address> element can only be used to represent the contact information for its nearest <article> or <body> element ancestor. Typically an <address> element can be placed inside the <footer> element of the current section, if any.
This example demonstrates the use of <address> to demarcate the contact information for an article's author.
html
<address>
You can contact author at
<a href="http://www.example.com/contact">www.example.com</a>.<br />
If you see any bugs, please
<a href="mailto:[email protected]">contact webmaster</a>.<br />
You may also want to visit us:<br />
Mozilla Foundation<br />
331 E Evelyn Ave<br />
Mountain View, CA 94041<br />
USA
</address>
Although it renders text with the same default styling as the <i> or <em> elements, it is more appropriate to use <address> when dealing with contact information, as it conveys additional semantic information.
None, both the starting and ending tag are mandatory.
Permitted parents
Any element that accepts
flow content, but always excluding <address> elements (according
to the logical principle of symmetry, if
<address> tag, as a parent, cannot have nested
<address> element, then the same
<address> content cannot have
<address> tag as its parent).
You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.