<address>

Allows you to define HTML contact details.
2 min read
Believemy logo

The <address> tag is used to define a contact address on a website.

It is generally used to specify contact information related to:

  • a author;
  • an organization;
  • or a web page.
Good to know

Although it can contain text, links, or even tags like <a>, it is designed to indicate information associated with a physical or electronic contact, such as a postal address, an email address, or a phone number.

In other words, whenever you have an address to display on your website (hello "Contact" page 😋), be sure to use the <address> tag!

 

Structure and Syntax of the <address> Tag

The syntax of the <address> tag is simple and consists of an element that surrounds the contact information.

It is therefore a tag that works in pairs:

  1. An opening tag <address>;
  2. A closing tag </address>.

Here's a small example:

HTML
<address>
  <p>Believemy</p>
  <p>229 rue Saint-Honoré, 75001 Paris FRANCE</p>
  <p>Email : <a href="mailto:hello@believemy.com">hello@believemy.com</a></p>
</address>

Try it yourself! 😉

As you can see, we can include links in our address!

 

Use Cases

1. To display an author's address

HTML
<address>
  <p>Contact the author at the following address: <a href="mailto:author@example.com">author@example.com</a>.</p>
</address>

 

2. To display a company's address

HTML
<address>
  <p>Believemy</p>
  <p>229 rue Saint-Honoré, 75001 Paris FRANCE</p>
  <p>Email : <a href="mailto:hello@believemy.com">hello@believemy.com</a></p>
</address>

 

3. To display a customer service phone number

HTML
<address>
  <p>Contact our customer service at the following number: <a href="tel:+33123456789">Call</a>.</p>
</address>

 

Browser Compatibility

The <address> tag is supported by all modern browsers.

Warning

It is important to note that, although the tag is very useful for SEO and accessibility, it should not be used excessively or for information that is not directly related to contact.

ElementGoogle ChromeSafariMozilla FirefoxEdge
<address>YesYesYesYes

Related terms

Discover our hTML and CSS glossary

Browse the terms and definitions most commonly used in HTML and CSS development.

Share this article

Want to help us? Share this article on your networks or even better: on your site, in an article or in your newsletter.