The <address> tag specifies contact information.
This information is about the document's author or owner.
It may have name, address, email, phone, social media, etc.
An <address> with the author's contact information.
<address>
Contact author: <a href="mailto:debbie@company.com">Debbie Anderson</a>,
@debbie_anderson
</address>
Note: When <address> is placed inside <body> it represents the document's contact info.
And when <address> is inside an <article> it represents the article's author info.
An <address> tag that displays contact and address information for the document's author.
<address>
Author: <a href="mailto:debbie@company.com">Debbie Anderson</a>,
@debbie_anderson<br />
140 Broadway, Suite 2270<br />
New York, NY 10005<br />
</address>
The <address> tag creates the author's contact information.
The mailto: prefix in href allows users to send an email to the author.
The <address> element has no attributes, but it does accept global attributes.
The following are commonly used.
| Attribute | Value | Description |
|---|---|---|
| id | value | Provides the address element with a unique identifier. |
| class | classnames | Assigns one or more classnames to the address element. |
| style | CSS-values | Assigns CSS style values to the address element. |
For additional global attributes see our global attributes list.
By default, the text in the <address> tag is italic.
With CSS you can customize the text.
An <address> that is styled in non-italic text.
<address style="font-style:normal;">
Written by <a href="mailto:hlopez@gmail.com">Henry Lopez</a>.<br />
Composition Labs, LLC<br />
105 East Main Street<br />
El Paso, Texas 79905
</address>
For details on the font-style CSS property, see our CSS font-style Reference.
Here is when <address> support started for each browser:
![]() Chrome
|
1.0 | Sep 2008 |
![]() Firefox
|
1.0 | Sep 2002 |
![]() IE/Edge
|
1.0 | Aug 1995 |
![]() Opera
|
1.0 | Jan 2006 |
![]() Safari
|
1.0 | Jan 2003 |