0% found this document useful (0 votes)
18 views3 pages

!doctype HTML

This document is an HTML template for a simple static website featuring a header, navigation menu, main content sections (Home, About, Services, Contact), and a footer. It includes a contact form that opens Gmail to send messages. The website is styled with CSS for a clean and responsive design.

Uploaded by

madhuriveerla999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

!doctype HTML

This document is an HTML template for a simple static website featuring a header, navigation menu, main content sections (Home, About, Services, Contact), and a footer. It includes a contact form that opens Gmail to send messages. The website is styled with CSS for a clean and responsive design.

Uploaded by

madhuriveerla999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Simple Static Website</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #f4f4f4;
color: #333;
}
header {
background: #007BFF;
color: white;
padding: 20px 0;
text-align: center;
}
nav {
background: #0056b3;
display: flex;
justify-content: center;
gap: 20px;
padding: 10px 0;
}
nav a {
color: white;
text-decoration: none;
font-weight: bold;
}
nav a:hover {
text-decoration: underline;
}
main {
max-width: 900px;
margin: 20px auto;
padding: 0 20px;
background: white;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
border-radius: 8px;
}
footer {
text-align: center;
padding: 15px 0;
background: #ddd;
margin-top: 30px;
}
</style>
</head>
<body>

<header>
<h1>Welcome to My Static Website</h1>
</header>

<nav>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#services">Services</a>
<a href="#contact">Contact</a>
</nav>

<main>
<section id="home">
<h2>Home</h2>
<p>This is a simple static website built with HTML and CSS. It is fast, easy
to deploy, and perfect for small projects or landing pages.</p>
</section>

<section id="about">
<h2>About</h2>
<p>We create clean and responsive websites to help you establish your online
presence quickly.</p>
</section>

<section id="services">
<h2>Services</h2>
<ul>
<li>Website Design</li>
<li>Web Development</li>
<li>SEO Optimization</li>
</ul>
</section>

<section id="contact">
<h2>Contact</h2>
<p>Feel free to reach out to us at <a
href="[Link]

<form id="contactForm" style="text-align:center; margin-top:30px;">


<input type="text" id="name" placeholder="Your Name" required><br><br>
<input type="email" id="email" placeholder="Your Email" required><br><br>
<input type="text" id="subject" placeholder="Subject" required><br><br>
<textarea id="message" placeholder="Your Message"
required></textarea><br><br>
<button type="submit">Send via Gmail</button>
</form>

<script>
[Link]("contactForm").addEventListener("submit",
function(event) {
[Link]();

const name = [Link]("name").value;


const email = [Link]("email").value;
const subject = [Link]("subject").value;
const message = [Link]("message").value;

const body = `Hi,\n\n${message}\n\nFrom,\n${name} (${email})`;


const gmailUrl = '[Link] +
'&to=valanukondalakshmi755@[Link]' +
'&su=' + encodeURIComponent(subject) +
'&body=' + encodeURIComponent(body);

[Link](gmailUrl, '_blank');
});
</script>

</section>
</main>

<footer>
<p>&copy; 2025 My Static Website. All rights reserved.</p>
</footer>

</body>
</html>

You might also like