HTML <address> Tag

The HTML <address> tag creates the 'address' element, which represents an address in an HTML document. This address is usually related to authorship of the current HTML document, or a section of the document.

If the <address> element's nearest ancestor is the <body> element, then it applies to the document as a whole. If its nearest ancestor is the <article> element, then it applies to the section.

The <address> tag cannot represent arbitrary addresses (e.g. postal addresses) unless those addresses are the contact information for the document/section. Postal addresses should otherwise be placed inside <p> tags.

Note that an <address> element must not contain the following elements: <article>, <aside>, <nav>, <section>, <header>, <footer>, <hgroup>, <h1>-<h6> or other <address>.


The <address> tag is written as <address></address> with the address information inserted between the start and end tags.

Like this:


Email Addresses

Email addresses are a common method of address for documents and articles on the web. You can use the address element in this manner.

Postal Addresses

Postal addresses like this can only be used if this is the actual address for the document/section.


Attributes can be added to an HTML element to provide more information about how the element should appear or behave.

The <address> element accepts the following attributes.


Global Attributes

The following attributes are standard across all HTML elements. Therefore, you can use these attributes with the <address> tag , as well as with all other HTML tags.

For a full explanation of these attributes, see HTML 5 global attributes.

Event Handlers

Event handler content attributes enable you to invoke a script from within your HTML. The script is invoked when a certain "event" occurs. Each event handler content attribute deals with a different event.

Most event handler content attributes can be used on all HTML elements, but some event handlers have specific rules around when they can be used and which elements they are applicable to.

For more detail, see HTML event handler content attributes.