Skip to content

HTML address tag | Use of address tag in HTML (contact information)

  • by

HTML address tag in HTML used to defines the contact information for the author/owner of a document/company or an article.

In the address tag, you can show the email address link, Others URL, office address, phone number, social media handle on the HTML web page.

Note: The text inside the <address> tag will display in italic format.

Syntax

<address> Address... </address>

Use of address tag in HTML Example

Example code of address tag- Contact information for abc.com:

<!DOCTYPE html>
<html>
<body>

    <address>
        Written by <a href="mailto:[email protected]">EyeHunts</a>.<br>
        Visit us at:<br>
        ABC.com<br>
        Box 777, Bangalore<br>
        INDIA
    </address> 
</body>
</html>

Output:

HTML address tag

HTML address attributes

This element only includes the global attributes.

Must Read: we have also set the email-is using the mailto − How to Create Mailto HTML Links

Do comment if you know other use of it or have any doubts in this topic.

Note: The All HTML Examples codes are tested on the Firefox browser and the Chrome browser.

OS: Windows 10

Code: HTML 5 Version

Leave a Reply

Discover more from Tutorial

Subscribe now to keep reading and get access to the full archive.

Continue reading