0% found this document useful (0 votes)
4 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)
4 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
You are on page 1/ 3

<!

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="mailto:valanukonda2005@gmail.com">valanukonda2005@gmail.com</a>.</p>

<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>
document.getElementById("contactForm").addEventListener("submit",
function(event) {
event.preventDefault();

const name = document.getElementById("name").value;


const email = document.getElementById("email").value;
const subject = document.getElementById("subject").value;
const message = document.getElementById("message").value;

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


const gmailUrl = 'https://mail.google.com/mail/?view=cm' +
'&to=valanukondalakshmi755@gmail.com' +
'&su=' + encodeURIComponent(subject) +
'&body=' + encodeURIComponent(body);

window.open(gmailUrl, '_blank');
});
</script>

</section>
</main>

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

</body>
</html>

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy