Syntax | <address>...</address> |
---|---|
Attribute Specifications | |
Contents | |
Contained in | applet, blockquote, body, button, center, dd, del, div, fieldset, form, iframe, ins, li, map, noframes, noscript, object, td, th |
The address element provides contact information for a document or part of a document. Information provided by address may include the names of the document's maintainers, links to the maintainers' Web pages, e-mail addresses for feedback, postal addresses, phone numbers, and so on. The address element is not appropriate for all postal and e-mail addresses; it should be reserved for providing such information about the contact people for the document.
The following example, most appropriate at the end of a document, gives contact information about the maintainer:
<address>Maintained by
<a href="/%7eliam/">liam quinn</a>
<<a
href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</a>></address>
address can also be used to provide contact information for a portion of a document, typically a form. The next example gives users contact information to use in conjunction with an order form:
<form method="post" action="/cgi-bin/order.cgi">
<fieldset>
<legend accesskey="c">Credit Card Information<br /></legend>
<p>
<label accesskey="v">
<input type="radio" name="card" value="visa" /> Visa
</label>
<label accesskey="m">
<input type="radio" name="card" value="mc" /> Mastercard
</label>
<br />
<label accesskey="n">
Number: <input type="text" name="number" />
</label>
<label accesskey="e">
Expiry: <input type="text" name="expiry" />
</label>
</p>
</fieldset>
<p>
<input type="submit" value="Submit Order" accesskey="s" />
</p>
<address>
If you have any questions about ordering, contact us at
<a href="mailto:orders@example.com">orders@example.com</a>,
or phone our offices at 555-5555.
</address>
</form>