HTML <address> Tag

Web developers use the <address> tag to specify contact information about the document‘s author or owner. An address may have name, address, email, phone, social media info, and other relevant information.

HTML Tag

Example

#

An <address> tag with author's name, Twitter handle, and an option to send email.

Contact author: Debbie Anderson, @debbie_anderson
<address>
  Contact author: <a href="mailto:debbie@company.com">Debbie Anderson</a>,
  @debbie_anderson
</address>

Using <address>

The <address> tag creates contact information for the document author or owner.

It accepts content such as name, address, email, phone, social media info, and more.

Here is when <address> is inside the <body> it represents the document's contact info.

Here is when <address> is inside an <article> it represents the article's author info.

More Examples

An <address> tag that displays contact and address information for the document's author.

Author: Debbie Anderson, @debbie_anderson
140 Broadway, Suite 2270
New York, NY 10005
<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>

Code explanation

The <address> tag creates the author's contact information.

The mailto: prefix in href allows users to send an email to the author.


Attributes for <address>

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.


Did you know?

Did you know?

Styling an address with CSS

By default, the text in the <address> tag is italic.

With CSS you can customize the <address> text.

An <address> that is styled in non-italic text.

Written by Henry Lopez.
Composition Labs, LLC
105 East Main Street
El Paso, Texas 79905
<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>

Browser support

Here is when <abbr> 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

You may also like

Guides