CodesJava

Easy learning with example program codes

address HTML

HTML <address> Tag

To specify the information related to the author of an article or a webpage, the HTML <address> tag is used. Any type of content such as URL, physical address, phone number, email, other links, etc. that is required can be added within this tag. It is thus important for contexts like business contact information or author related contact information. It usually renders the contents in the italic format on the browser. The <address> tag is placed inside the <article> element, to specify the information of the author of an article.

Syntax:

<address>Contact Us:<br>

<a href="mailto:example123@gmail.com">Example123@gmail.com</a></address>

Example:

<!DOCTYPE html>
<html>
<body>
<address>
Contact Us at: <a href="mailto:hr@w3spoint.com">W3spoint</a>.<br> 
Visit us at:<br>
W3spoint.com<br>
1234, New Street<br>
XYZ
</address>
</body>
</html>

Output:

Explanation:

In the above example, we are using the HTML <address> tag to display the contact address on an HTML page.

Attributes:

There is no specific attribute for the HTML <address> tag.

Global Attribute:

The HTML global attributes are supported by the <address> tag.

Event attribute:

All the HTML event attributes are supported by the <address> tag.

Supporting Browsers:

Chrome, IE, Firefox, Opera and Safari.

Please follow and like us:
error
Posted in HTML   









Copyright © 2019 CodesJava DMCA.com Protection Status