This repository was archived by the owner on Jul 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtask3.html
85 lines (76 loc) · 1.91 KB
/
task3.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task 3</title>
<style>
table,
td,
th {
border: 2px solid black;
border-collapse: collapse;
font-family: 'Roboto', sans-serif;
min-width: 75px;
margin-left: auto;
margin-right: auto;
margin-top: 250px;
}
td,
th {
border: 2px solid black;
min-width: 75px;
text-align: center;
padding: 8px;
}
.orange {
background-color: orange;
}
.blue {
background-color: rgb(76, 76, 244);
}
.green {
background-color: green;
}
.grey {
background-color: gray;
color: white;
}
.yellow {
background-color: yellow;
}
</style>
</head>
<body>
<table>
<tr>
<td class="orange">10</td>
<td class="blue">20</td>
<td class="blue">30</td>
<td class="green">4</td>
</tr>
<tr>
<td class="orange">50</td>
<td colspan="2" class="grey">Colored Table</td>
<td class="green">6</td>
</tr>
<tr>
<td class="orange">70</td>
<td rowspan="2" class="yellow">80</td>
<td rowspan="2" class="yellow">90</td>
<td class="green">10</td>
</tr>
<tr>
<td class="orange">110</td>
<td class="green">12</td>
</tr>
<tr>
<td class="orange">130</td>
<td class="blue">140</td>
<td class="blue">150</td>
<td class="green">16</td>
</tr>
</table>
</body>
</html>