-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnestedtable.html
117 lines (116 loc) · 5.19 KB
/
nestedtable.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nested table-1</title>
<style>
.container{
width: 800px;
margin: auto;
}
nav ul{
display: flex;
justify-content:flex-start;
}
nav ul li{
list-style: none;
}
nav ul li a{
text-decoration: none;
font-size: 22px;
}
</style>
</head>
<body>
<div class="container">
<header>
<nav>
<ul>
<li><a href="index.html">Back to Home</a></li>
</ul>
</nav>
</header>
</div>
<table width="800" height="600" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="800" height="300" bgcolor="#b71540">
<table width="800" height="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" height="300" bgcolor="#eb2f06">
<table width="400" height="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" height="150" bgcolor="red">
<table width="400" height="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" height="150" bgcolor="#f6b93b"></td>
<td width="200" height="150" bgcolor="#e55039"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="400" height="150" bgcolor="black">
<table width="400" height="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" height="150" bgcolor="#e55039"></td>
<td width="200" height="150" bgcolor="#f6b93b"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="400" height="300" bgcolor="#1e3799">
<table width="400" height="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="200" height="300" bgcolor="#0a3d62"></td>
<td width="200" height="300" bgcolor="#e58e26"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="800" height="300" bgcolor="#eb2f06">
<table width="800" height="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" height="300" bgcolor="#b71540">
<table width="400" height="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" height="100" bgcolor="#182C61"></td>
</tr>
<tr>
<td width="400" height="100" bgcolor="#eb2f06"></td>
</tr>
<tr>
<td width="400" height="100" bgcolor="#55E6C1"></td>
</tr>
</table>
</td>
<td width="400" height="300" bgcolor="#0c2461">
<table width="400" height="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" height="150" bgcolor="#f6b93b"></td>
</tr>
<tr>
<td width="400" height="150" bgcolor="#e58e26">
<table width="400" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="150" bgcolor="#F8EFBA"></td>
<td width="200" height="150" bgcolor="#55E6C1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>