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

Pro HTML

The document is an HTML page with CSS styling. It contains a header with a logo and navigation links, an about section, and a contact form section.

Uploaded by

Ahmad Khan
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)
12 views3 pages

Pro HTML

The document is an HTML page with CSS styling. It contains a header with a logo and navigation links, an about section, and a contact form section.

Uploaded by

Ahmad Khan
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.0">
<title>Your Creative Website</title>
<style>
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* Set a beautiful background */


body {
background-color: #f7f7f7;
font-family: Arial, sans-serif;
}

/* Create a header with a logo */


header {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px;
}

/* Style the logo */


.logo {
font-size: 24px;
font-weight: bold;
}

/* Create a navigation menu */


nav {
text-align: center;
margin-top: 20px;
}

nav a {
text-decoration: none;
color: #333;
margin: 0 10px;
}

/* Style the "About" section */


.about {
padding: 40px;
text-align: center;
}

/* Style the "Contact Us" form */


.contact-form {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form label {
display: block;
margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
}

.contact-form button {
background-color: #333;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}

.contact-form button:hover {
background-color: #555;
}
</style>
</head>
<body>
<header>
<div class="logo">Your Beautiful Logo</div>
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Contact Us</a>
</nav>
</header>

<div class="about">
<h1>About Us</h1>
<p>Your captivating description goes here...</p>
</div>

<div class="contact-form">
<h2>Contact Us</h2>
<form>
<label for="name">Name:</label>
<input type="text" id="name" placeholder="Enter your name">

<label for="email">Email:</label>
<input type="text" id="email" placeholder="Enter your email">

<label for="message">Message:</label>
<textarea id="message" rows="4" placeholder="Your message"></textarea>

<button type="submit">Send</button>
</form>
</div>
</body>
</html>

You might also like