<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Your Website</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
}
header {
background: #333;
color: #fff;
padding: 1em 0;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
gap: 2em;
padding: 0;
margin: 0;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
section {
padding: 2em;
}
.btn {
display: inline-block;
padding: 0.5em 1em;
background: #007BFF;
color: white;
text-decoration: none;
border-radius: 4px;
}
footer {
background: #333;
color: #fff;
text-align: center;
padding: 1em 0;
}
form input, form textarea {
width: 100%;
margin-bottom: 1em;
padding: 0.5em;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 4px;
}
form button {
background: #007BFF;
color: white;
border: none;
padding: 0.75em 1.5em;
border-radius: 4px;
cursor: pointer;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<section id="home">
<h1>Welcome to Our Website</h1>
<p>Your journey starts here.</p>
<a href="#about" class="btn">Learn More</a>
</section>
<section id="about">
<h2>About Us</h2>
<p>We are a team of professionals dedicated to providing top-notch services.</p>
</section>
<section id="services">
<h2>Our Services</h2>
<ul>
<li>Service 1</li>
<li>Service 2</li>
<li>Service 3</li>
</ul>
</section>
<section id="contact">
<h2>Contact Us</h2>
<p>Have questions? Reach out to us!</p>
<form action="#" method="POST">
<input type="text" name="name" placeholder="Your Name" required />
<input type="email" name="email" placeholder="Your Email" required />
<textarea name="message" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
</section>
<footer>
<p>© 2025 Your Company. All rights reserved.</p>
</footer>
</body>
</html>