0% found this document useful (0 votes)
27 views2 pages

Website

The document contains HTML code for a basic website layout with a header, navigation bar, main content section and footer. It includes CSS styling for colors, fonts, padding and other elements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

Website

The document contains HTML code for a basic website layout with a header, navigation bar, main content section and footer. It includes CSS styling for colors, fonts, padding and other elements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

<!

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;
background-color: #f2f2f2;
}

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

nav {
background-color: #444;
padding: 10px;
}

nav a {
color: #fff;
text-decoration: none;
padding: 10px;
margin-right: 10px;
display: inline-block;
}

section {
padding: 20px;
}

footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
</style>
</head>
<body>
<header>
<h1>Your Website Name</h1>
</header>

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

<section>
<h2>Welcome to Your Website!</h2>
<p>This is the main content of your website.</p>
</section>

<footer>
<p>&copy; 2023 Your Website. All rights reserved.</p>
</footer>

</body>
</html>

You might also like