May 03, 2021 HTML5
With the HTML5 and address, you can get contact information about the author or owner of a document, please refer to the following example:
Example.com contact information:
<address>Written by <a href="mailto:[email protected]">Jon Doe</a>.<br> Visit us at:<br>Example.com<br>Box 564, Disneyland<br>USA</address>
All major browsers support the hashtag.
The label defines the contact information of the author/owner of the document.
If the element is inside the element, it represents the contact information of the author/owner of the document.
If the element is inside the element, it represents the contact information of the author/owner of the article.
The text of the element is usually rendered italic. Most browsers add line changes before and after the element.
Tip: You should not use the hashtag to describe a postal address unless the information is part of the contact information.
It is used to store address information, and it can be paired with the element to provide contact information for the author of the article. The following points need to be noted for its use:
If there are random addresses in the text, you shouldn't use the element, but instead use the ordinary element.
The address information should only be stored in the element, not other information that is not related to the address, such as the publication time, and you should put it in the element.
A good habit is that we should put the element of the .lt;address. Of course, you don't have to refer to this rule if you don't have the elements.
HTML 4.01 does not support the label, so in HTML 4.01 the label always defines the author/owner's contact information for the document.
The label supports the global properties of HTML.
The tag supports the event properties of HTML.
HTML DOM Reference Manual: HTML DOM Body Object