-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtables.html
102 lines (96 loc) · 2.27 KB
/
tables.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>table element</title>
<meta name="author" content="kaizen-soze">
</head>
<body>
<!-- Technically you shouldn't use the border attribute to style a table; you should be using CSS. -->
<table border="1">
<thead>
<tr>
<th colspan="5">This is a table with five columns</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
</tr>
</tbody>
</table>
<br />
<br />
<table border="1">
<thead>
<tr>
<th colspan="3">This is a table with three columns</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
<br />
<br />
<table border="1">
<thead>
<tr>
<th colspan="3">This is a nested table; outer level</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<table border="1">
<thead>
<tr>
<th colspan="3">This is a nested table; inner level</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tables</td>
</tr>
</tbody>
</table>
</td>
<td><table border="1">
<thead>
<tr>
<th colspan="3">This is a nested table; inner level</th>
</tr>
</thead>
<tbody>
<tr>
<td>Within</td>
</tr>
</tbody>
</table></td>
<td>
<table border="1">
<thead>
<tr>
<th colspan="3">This is a nested table; inner level</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tables</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>