-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabc.html
More file actions
46 lines (42 loc) · 2.12 KB
/
abc.html
File metadata and controls
46 lines (42 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Website Task</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100">
<header class="bg-green-500 text-white text-center py-6">
<h1 class="text-3xl font-bold">Welcome to Your Website Task</h1>
<nav class="mt-2">
<a href="#" class="px-4 hover:underline">Home</a>
<a href="#" class="px-4 hover:underline">About</a>
<a href="#" class="px-4 hover:underline">Contact</a>
</nav>
</header>
<main class="container mx-auto px-4 py-8">
<div class="grid md:grid-cols-2 gap-6">
<div class="bg-white p-4 shadow-md rounded-md">
<h2 class="text-xl font-semibold text-gray-800">About CSS</h2>
<p class="text-gray-600">Cascading Style Sheets (CSS) allow you to style and layout your web pages, adding colors, spacing, and more.</p>
</div>
<div class="bg-white p-4 shadow-md rounded-md">
<h2 class="text-xl font-semibold text-gray-800">Box Model</h2>
<p class="text-gray-600">The CSS box model describes the rectangular boxes generated for elements. It includes margins, borders, padding, and the actual content.</p>
</div>
<div class="bg-white p-4 shadow-md rounded-md">
<h2 class="text-xl font-semibold text-gray-800">Responsive Design</h2>
<p class="text-gray-600">Responsive design ensures your webpage looks great on all devices, from desktops to mobile phones.</p>
</div>
</div>
</main>
<footer class="bg-gray-800 text-white text-center py-4 mt-6">
<p>Created by [Japneet Sandhu] | Follow us on
<a href="#" class="text-green-400 hover:underline">Instagram</a>,
<a href="#" class="text-green-400 hover:underline">Twitter</a>,
<a href="#" class="text-green-400 hover:underline">LinkedIn</a>
</p>
</footer>
</body>
</html>