HTML Address Tag
The HTML address tag is used to define contact information for the author/owner of a document or an article. It is typically used to provide contact information for the publisher or author of a web page, such as an email address, phone number, physical address, or website URL.
The syntax for the address tag is as follows:
<address> Contact Information </address>
The text within the address tags is typically styled differently from the surrounding text, often displayed in italics or a smaller font size. However, the style of the address tag can be customized using CSS.
Here is an example of how the address tag can be used:
<address> Joh<br> 123 Main Street<br> Anytown, AS<br> Phone: 555-123-4567<br> Email: firstname.lastname@example.org </address>
This will display the contact information for John Doe, with each piece of information on a separate line.
It is important to note that the address tag should only be used to provide contact information for the author or publisher of the content, and not for any other purpose. It should also be used sparingly, as including too much contact information can clutter the page and distract from the main content.