×

html · level 2 · unit 5 · lesson 2

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

<address> holds the for a page.

<address> is for contact details: how to reach the person or business behind a page or an article. It usually sits in the <footer>, and browsers show it in italics.

Make each detail a link. href="mailto:hello@example.com" starts a new email. href="tel:+441632960123" rings the number on a phone. Write it with no spaces.

<address> is only for ways to reach you. Any other address, like where a party is held, goes in an ordinary <p>.

<footer>
  <address>
    Tilly's Tearoom, 4 Mill Lane, York<br>
    <a href="mailto:hello@example.com">hello@example.com</a><br>
    <a href="tel:+441632960123">01632 960123</a>
  </address>
</footer>

Press show my page to see it here.

Phone links start with the country code, such as +44 for the UK, and drop the first 0.