-
Notifications
You must be signed in to change notification settings - Fork 0
/
Exercise table 2.html
50 lines (47 loc) · 1012 Bytes
/
Exercise table 2.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
<!DOCTYPE html>
<html>
<head>
<title>Table</title>
<style>
div table.main{
margin: 280px auto;
}
table,th, td {
padding: 2px;
text-align: left;
}
</style>
</head>
<body>
<div>
<table class="main" border="3px">
<tr>
<td style="background: white;height:80px;width:120px">
<table style="border:1px solid black; border-collapse: collapse">
<tr>
<td style="border-bottom: 1px solid black">Rubber</td>
<td style="border-left: 1px solid black">baby</td>
</tr>
<tr>
<td style="border-right: 1px solid black">buggy</td>
<td style="border-top: 1px solid black">bumpers</td>
</tr>
</table>
</td>
<td style="background: white;height:80px;width:80px">
<table style="border:1px solid black; border-collapse: collapse" >
<tr>
<td style="border-bottom: 1px solid black">She</td>
<td style="border-left: 1px solid black">sells</td>
</tr>
<tr>
<td style="border-right: 1px solid black">sea</td>
<td style="border-top: 1px solid black">shells</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>