Html code
Html code
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to Chhattisgarh</title>
<style>
body {
background-image: url('chhattisgarh_background.jpg');
background-size: cover;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
nav {
background-color: #444;
overflow: hidden;
}
nav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
}
nav a:hover {
background-color: #555;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #444;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
float: none;
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
text-align: left;
}
.dropdown-content a:hover {
background-color: #555;
}
.container {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 10px;
}
</style>
</head>
<body>
<header>
<h1>Welcome to Chhattisgarh</h1>
</header>
<nav>
<a href="#">District</a>
<div class="dropdown">
<a href="#">Tourist Places</a>
<div class="dropdown-content">
<a href="#">Place 1</a>
<a href="#">Place 2</a>
<a href="#">Place 3</a>
</div>
</div>
<a href="#">History</a>
<div class="dropdown">
<a href="#">State Institutions</a>
<div class="dropdown-content">
<a href="#">Institution 1</a>
<a href="#">Institution 2</a>
<a href="#">Institution 3</a>
</div>
</div>
</nav>
<div class="container">
<h2>About Chhattisgarh</h2>
<p>Chhattisgarh is a state in central India known for its rich cultural
heritage and natural beauty.</p>
<p>Insert more information about the state here...</p>
</div>
</body>
</html>