Today I Learned - Rocky Kev

TIL The Address tag

POSTED ON:

TAGS:

The HTML

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

The

element should include the name of the person, people, or organization to which the contact information refers. It can also include URL, email address, phone number, social media handle, geographic coordinates, and so forth.

//wrong
<ADDRESS>Last Modified: 1999/12/24 23:37:50</ADDRESS>


//preferred
<address>
  <a href="mailto:jim@rock.com">jim@rock.com</a><br>
  <a href="tel:+13115552368">(311) 555-2368</a>
</address>

//also acceptable
<address>
  Written by <a href="mailto:hello@bitdegree.org">BitDegree</a>.
  Visit us at:
  https://www.bitdegree.org/<br>
</address>

MDN Web docs
w3.org


Related TILs

Tagged: