HTML Address <address>

Usage

The HTML address tag is used to define any sort of contact information.

This can include physical address, phone numbers, email addresses and more.

Code:


<!DOCTYPE html>
<html>
<head>
<!-- This is the stylesheet John created in 2020 -->
<link rel="stylesheet" href="/file/stylesheet.css">
</head>

<body>

<div id="openingparagraphs">

<p>Welcome to my webpage and paragraph 1.</p>

<p>I have so much to say I'm going to need a lot of paragraphs!</p>


<address>
<p>
Call me at 213-222-3333 <br>
Email me at <a href="mailto:hello@email.com">hello@email.com</a> <br>
Or send me a letter at: <br>
123 Hollywood Avenue <br>
Hollywood, California <br>
USA
</p>
</address>


</address>
</div>

</body>

</html>

Output:

Welcome to my webpage and paragraph 1.

I have so much to say I’m going to need a lot of paragraphs!

Call me at 213-222-3333
Email me at hello@email.com
Or send me a letter at:
123 Hollywood Avenue
Hollywood, California
USA