HTML 5 <address> Tag
Example
Contact information for W3Schools.com:
<address>
Written by W3Schools.com<br />
<a href="mailto:us@example.org">Email us</a><br />
Address: Box 564, Disneyland<br />
Phone: +12 34 56 78
</address> |
Try it yourself » |
Definition and Usage
The <address> tag defines the contact information for the author or owner of a document.
If the <address> element is inside an <article> element, it represents the contact information of the author/owner of that article.
Differences Between HTML 4.01 and HTML 5
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
Note: The <address> tag should NOT be used to describe a postal address,
unless it is a part of the contact information.
Note: The address usually renders in italic. Most browsers will
add a line break before and after the address element.
Standard Attributes
| class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard Attributes in HTML 5.
Event Attributes
| onabort, onbeforeunload, onblur, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress,
onkeyup, onload, onmessage, onmousedown, onmousemove,
onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect,
onsubmit, onunload |
For a full description, go to Event Attributes in HTML 5.
The Creators of XMLSpy are Pleased to Announce
|