HTML <address> Tag
Definitie en gebruik
<address>
De tag definieert de contactinformatie van de auteur/eigenaar van het document of artikel.
Als <address>
Het element bevindt zich in <body>-element
Indien het element binnenin staat, betekent dit de contactinformatie van het document.
Als <address>
Het element bevindt zich in <article>-element
Indien het element binnenin staat, betekent dit de contactinformatie van het artikel.
Tip:<address>
Het element wordt meestal samen met andere informatie opgenomen in <footer>-elementzijn.
Contactinformatie kan een e-mailadres, URL, fysieke adres, telefoonnummer, sociale mediarekening enz. zijn.
<address>
Tekst in het element wordt meestal in schuine streken weergegeven, de browser zal altijd in <address>
Voeg een nieuwe regel toe voor en na het element.
Zie ook:
HTML DOM Referentiehandleiding:Address object
Example
Contact information for Example.com:
<address> Written by <a href="mailto:webmaster@example.com">Bill Gates</a>.<br> Visit us here:<br> Example.com<br> Box 564, Disneyland<br> USA </address>
Global attributes
<address>
The tag also supports Global attributes in HTML.
event attributes
<address>
The tag also supports Event attributes in HTML.
Default CSS settings
Most browsers will display the following default values <address>
Element:
address { display: block; font-style: italic; }
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |