This example includes a basic structure with a title, header, content area, and footer. You can copy and paste this code into a text editor and save it with a `.html` extension to view it in a web browser.
```html
<!DOCTYPE html>
<html>
<head>
<title>My Simple Website</title>
</head>
<body>
<header>
<h1>Welcome to My Website</h1>
</header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<main>
<h2>About Us</h2>
<p>This is a simple example website created using HTML.</p>
</main>
<footer>
<p>© 2023 My Simple Website</p>
</footer>
</body>
</html>
```
this is just a basic example. You can customize and expand it by adding more content, styling with CSS, and even adding interactivity with JavaScript if needed.
Comments
Post a Comment