You can create an address page in HTML using basic HTML elements like <p>
for paragraphs, <strong>
for bold text, and <br>
for line breaks.
Here's an example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
</head>
<body>
<h1>Contact Us</h1>
<p>
<strong>Our Address:</strong><br>
123 Main Street<br>
Anytown, CA 12345
</p>
<p>
<strong>Phone:</strong> (123) 456-7890<br>
<strong>Email:</strong> [email protected]
</p>
</body>
</html>
This code creates a simple address page with the following elements:
- Heading: An
<h1>
tag for the "Contact Us" heading. - Address: A
<p>
tag with the address information formatted using<br>
tags for line breaks and<strong>
tags for bold text. - Phone and Email: Another
<p>
tag with phone and email information formatted similarly.
You can customize this code to include additional information such as a map, a form, or social media links.
Remember to use descriptive headings and clear formatting to make your address page easy to read and understand.