HTML <address>: tag

HTML <address> tag : Definition

The <address> tag in HTML contains the contact information of a person or an organization.

The text in the <address> element default rendered in italic, and browsers will always add a line break before and after the <address> element.



Important Note:


The HTML <address> tag may consist any type of contact information which is needed, for example: a physical address, URL, email address, phone number, social media handle, geographic coordinates etc.


HTML <address> tag example :


<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>The <address> tag example</title>
</head>
<h1>Html address tag Example</h1>

<address>
Written by <a href="mailto:contact@aimtocode.com">Prayag Verma</a>.<br> 
Visit us at:<br>
AimToCode.com<br>
INDIA
</address>
</html>

Output:


Written by Prayag Verma. Visit us at: aimtocode.com INDIA