This repository was archived by the owner on Mar 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindexhtml.html
More file actions
131 lines (124 loc) · 2.65 KB
/
indexhtml.html
File metadata and controls
131 lines (124 loc) · 2.65 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html>
<head>
<title>HTML TASKS </title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #c6ec91;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
color: #00698f;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #333;
color: #fff;
}
nav a {
text-decoration: none;
color: #fff;
padding: 10px 20px;
}
nav a:hover {
background-color: #444;
}
.content {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: #f27272;
border: 1px solid #ddd;
}
.content p {
margin-bottom: 20px;
}
button {
background-color: #7bbc1a;
color: #fff;
padding: 10px 30px;
border: none;
border-radius: 10px;
cursor: pointer;
}
button:hover {
background-color: #0b9c78;
}
table {
width: 100%;
border-collapse:initial;
border-radius: 2px;
border:#000000;
}
th {
background-color: #72f483;
}
tr:nth-child(even) {
background-color: #c6ec91;
}
tr:nth-child(odd) {
background-color: #9bf3c1;
}
</style>
</head>
<body>
<h1>HTML TASKS</h1>
<nav>
<a href="index.html">Home page</a>
<a href="indexhtml.html">HTML TASKS</a>
<a href="indexcss.html">CSS TASKS</a>
</nav>
<div class="content">
<center>
<table>
<tr>
<th>TASK NUMBER</th>
<th>TASK LINK</th>
</tr>
<tr>
<td><center>1</center></td>
<td><a href="html1.html">
<center><button>Task 1</button></center>
</a></td>
</tr>
<tr>
<td><center>2</center></td>
<td><a href="html2.html">
<center><button>Task 2</button></center>
</a></td>
</tr>
<tr>
<td><center>3</center></td>
<td><a href="html3.html">
<center><button>Task 3</button></center>
</a></td>
</tr>
<tr>
<td><center>4</center></td>
<td><a href="html4.html">
<center><button>Task 4</button></center>
</a></td>
</tr>
<tr>
<td><center>5</center></td>
<td><a href="html5.html">
<center><button>Task 5</button></center>
</a></td>
</tr>
</table>
</center>
</div>
</body>
</html>