Assi 3 Merged
Assi 3 Merged
Assignment No. 1
Subject: Web Design SEM-VIII A.Y.2024-25 5
Title Web Design Using CSS Types – Inline, Internal, and Externa
External
Source VS Code Software
Concept Highlighted HTML
HTML, CSS
1) INDEX FILE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
charset="UTF
<meta name="viewport" content="width=device
content="width=device--width, initial-
scale=1.0">
<title>Wanderlust Adventures</title>
<!
<!-- External CSS -->
<link rel="stylesheet" href="styles.css">
<!
<!-- Internal CSS -->
Code
<style>
/* Basic Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f9fa;
}
/* Header Styling */
header {
background-color: #007bff;
color: white;
text-align: center;
padding: 15px;
}
nav a {
color: white;
margin: 10px;
text-decoration: none;
font-weight: bold;
}
/* Hero Section */
.hero {
text-align: center;
background: url('img/wp-2022-05-travel-featured-image.avif')
no-repeat center center/cover;
height: 60vh;
display: flex;
align-items: center;
justify-content: center;
color: black;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0);
}
/* Services Section */
.services {
text-align: center;
padding: 20px;
background-color: white;
}
.package {
display: inline-block;
width: 30%;
margin: 10px;
padding: 10px;
background: #f4f4f4;
border-radius: 5px;
}
.package img {
width: 100%;
height: 200px;
border-radius: 5px;
}
/* Footer */
footer {
text-align: center;
background-color: #007bff;
color: white;
padding: 10px;
}
</style>
</head>
<body>
</body>
</html>
2) EXTERNAL CSS FILE
nav a:hover {
color: #ffcc00;
}
.package:hover {
background-color: #ddd;
transition: 0.3s;
}
OUTPUT :
2/5/25, 8:46 PM Wanderlust Adventures
🌍 Wanderlust Adventures
🏡 Home ✈️ Destinations 🎒 Packages 📞 Contact
City Exploration
127.0.0.1:5500/index.html 2/3
2/5/25, 8:46 PM Wanderlust Adventures
127.0.0.1:5500/index.html 3/3