This repository has been 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
/
task3.html
68 lines (61 loc) · 1.58 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
<html>
<head>
<title>task3</title>
<style>
table,td,tr{
border: 1px solid black;
min-width: 75px;
border-collapse: collapse;
text-align: center;
margin: auto;
}
td:nth-child(1){
background-color: orange;
}
td:nth-last-child(1){
background-color: rgb(14, 209, 14);
}
.blue{
background-color: skyblue;
}
.grey{
color: white;
background-color: gray;
}
.yellow{
background-color: yellow;
}
</style>
</head>
<body>
<table>
<tr>
<td>10</td>
<td class="blue">20</td>
<td class="blue">30</td>
<td>4</td>
</tr>
<tr>
<td>50</td>
<td colspan="2" class="grey">Colored Table</td>
<td>6</td>
</tr>
<tr>
<td>70</td>
<td rowspan="2" class="yellow">80</td>
<td rowspan="2" class="yellow">90</td>
<td>10</td>
</tr>
<tr>
<td>110</td>
<td>12</td>
</tr>
<tr>
<td>130</td>
<td class="blue">140</td>
<td class="blue">150</td>
<td>16</td>
</tr>
</table>
</body>
</html>