HTML Tutorial
The HTML <address>
tag defines the contact information for the author or owner of a document or article.
<address>
<address>
tag to provide contact information for:<address>
The <address>
tag has no attributes.
<address>
<p>
This article was written by John Doe.
</p>
<address>
John Doe<br>
123 Main Street<br>
Anytown, CA 12345<br>
(123) 456-7890
</address>
In this example, the <address>
tag provides contact information for the author of the article.
Exploring the <address>
Tag
To explore the <address>
tag in action, you can use the following HTML code:
<!DOCTYPE html>
<html>
<head>
<title>Exploring the <address> Tag</title>
</head>
<body>
<h1>Contact Information</h1>
<address>
John Doe<br>
123 Main Street<br>
Anytown, CA 12345<br>
(123) 456-7890
</address>
</body>
</html>
When you open this HTML file in a web browser, you will see the contact information for John Doe displayed on the page.