Spaces:
Running
Running
Update index.html
Browse files- index.html +65 -9
index.html
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
<!DOCTYPE html>
|
3 |
<html lang="en">
|
4 |
<head>
|
@@ -6,6 +5,7 @@
|
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
<title>Index of HTML Files</title>
|
8 |
<style>
|
|
|
9 |
body {
|
10 |
font-family: Arial, sans-serif;
|
11 |
margin: 20px;
|
@@ -27,17 +27,73 @@
|
|
27 |
a:hover {
|
28 |
text-decoration: underline;
|
29 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
</style>
|
31 |
</head>
|
32 |
<body>
|
33 |
<h1>Index of HTML Files</h1>
|
34 |
-
|
35 |
-
|
36 |
-
<
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
42 |
</body>
|
43 |
</html>
|
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Index of HTML Files</title>
|
7 |
<style>
|
8 |
+
/* Basic styling */
|
9 |
body {
|
10 |
font-family: Arial, sans-serif;
|
11 |
margin: 20px;
|
|
|
27 |
a:hover {
|
28 |
text-decoration: underline;
|
29 |
}
|
30 |
+
|
31 |
+
/* Dropdown styling */
|
32 |
+
.navbar {
|
33 |
+
background-color: #f8f9fa;
|
34 |
+
padding: 10px;
|
35 |
+
border: 1px solid #ddd;
|
36 |
+
width: 200px;
|
37 |
+
}
|
38 |
+
|
39 |
+
.dropdown {
|
40 |
+
position: relative;
|
41 |
+
display: inline-block;
|
42 |
+
width: 100%;
|
43 |
+
}
|
44 |
+
|
45 |
+
.dropdown-btn {
|
46 |
+
font-size: 16px;
|
47 |
+
color: #007bff;
|
48 |
+
background-color: #f8f9fa;
|
49 |
+
border: none;
|
50 |
+
width: 100%;
|
51 |
+
text-align: left;
|
52 |
+
padding: 10px;
|
53 |
+
cursor: pointer;
|
54 |
+
}
|
55 |
+
|
56 |
+
.dropdown-content {
|
57 |
+
display: none;
|
58 |
+
position: absolute;
|
59 |
+
background-color: #fff;
|
60 |
+
min-width: 200px;
|
61 |
+
border: 1px solid #ddd;
|
62 |
+
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
63 |
+
z-index: 1;
|
64 |
+
}
|
65 |
+
|
66 |
+
.dropdown-content a {
|
67 |
+
color: #007bff;
|
68 |
+
padding: 10px;
|
69 |
+
text-decoration: none;
|
70 |
+
display: block;
|
71 |
+
}
|
72 |
+
|
73 |
+
.dropdown-content a:hover {
|
74 |
+
background-color: #f1f1f1;
|
75 |
+
}
|
76 |
+
|
77 |
+
/* Show dropdown content on hover */
|
78 |
+
.dropdown:hover .dropdown-content {
|
79 |
+
display: block;
|
80 |
+
}
|
81 |
</style>
|
82 |
</head>
|
83 |
<body>
|
84 |
<h1>Index of HTML Files</h1>
|
85 |
+
|
86 |
+
<div class="navbar">
|
87 |
+
<div class="dropdown">
|
88 |
+
<button class="dropdown-btn">Subjects ▾</button>
|
89 |
+
<div class="dropdown-content">
|
90 |
+
<a href="architecture.html">Architecture</a>
|
91 |
+
<a href="advanceOS.html">Advanced OS</a>
|
92 |
+
<a href="DS.html">Data Structures</a>
|
93 |
+
<a href="maths.html">Mathematics</a>
|
94 |
+
<a href="cplusplus.html">C++ Programming</a>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
</body>
|
99 |
</html>
|