e01.org

`<address>` HTML contact address element

The <address> HTML element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.

The **`<address>`** [HTML](/docs/Web/HTML) element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.

tabbed-standard

```html interactive-example
<p>Contact the author of this page:</p>

<address>
<a href="mailto:jim@example.com">jim@example.com</a><br />
<a href="tel:+14155550132">+1 (415) 555‑0132</a>
</address>
```

```css interactive-example
a[href^="mailto"]::before {
content: "📧 ";
}

a[href^="tel"]::before {
content: "📞 ";
}
```

## Attributes

This element only includes the [global attributes](/docs/Web/HTML/Reference/Global_attributes).

## Usage notes

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.

## Examples

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:webmaster@example.com">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>
```

### Result

300

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.

## Technical summary

<table class="properties">
<tbody>
<tr>
<th scope="row">
<a href="/en-US/docs/Web/HTML/Guides/Content_categories"
>Content categories</a
>
</th>
<td>
<a href="/en-US/docs/Web/HTML/Guides/Content_categories#flow_content"
>Flow content</a
>, palpable content.
</td>
</tr>
<tr>
<th scope="row">Permitted content</th>
<td>
<a href="/en-US/docs/Web/HTML/Guides/Content_categories#flow_content"
>Flow content</a
>, but with no nested <code>&#x3C;address></code> element, no heading
content (hgroup, h1,
h2, h3,
h4, h5,
h6), no sectioning content
(article, aside,
section, nav), and
no header or footer
element.
</td>
</tr>
<tr>
<th scope="row">Tag omission</th>
<td>None, both the starting and ending tag are mandatory.</td>
</tr>
<tr>
<th scope="row">Permitted parents</th>
<td>
Any element that accepts
<a href="/en-US/docs/Web/HTML/Guides/Content_categories#flow_content"
>flow content</a
>, but always excluding <code>&#x3C;address></code> elements (according
to the logical principle of symmetry, if
<code>&#x3C;address></code> tag, as a parent, cannot have nested
<code>&#x3C;address></code> element, then the same
<code>&#x3C;address></code> content cannot have
<code>&#x3C;address></code> tag as its parent).
</td>
</tr>
<tr>
<th scope="row">Implicit ARIA role</th>
<td>
<code
><a href="/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/group_role"
>group</a
></code
>
</td>
</tr>
<tr>
<th scope="row">Permitted ARIA roles</th>
<td>Any</td>
</tr>
<tr>
<th scope="row">DOM interface</th>
<td>
HTMLElement Prior to Gecko 2.0 (Firefox 4),
Gecko implemented this element using the
HTMLSpanElement interface
</td>
</tr>
</tbody>
</table>

## Specifications

## Browser compatibility

## See also

- Others section-related elements: body, nav, article, aside, h1, h2, h3, h4, h5, h6, hgroup, footer, section, header;
- [Sections and outlines of an HTML document](/docs/Web/HTML/Reference/Elements/Heading_Elements).

source: MDN Web Docs mirror · page

Cite this

"` ` HTML contact address element". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/address

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·