/
index.html
77 lines (72 loc) · 1.88 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<link href="./styles.css" type="text/css" rel="stylesheet">
</head>
<body>
<header>
<h1>HTML Table Reference</h1>
<h3>This page serves as a quick guide for HTML tables</h3>
</header>
<h2>Table Tags</h2>
<table>
<thead>
<th>Tag</th>
<th>Name</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td class="code"><table></td>
<td>Table</td>
<td>The wrapper element for all HTML tables.</td>
</tr>
<tr>
<td class="code"><thead></td>
<td>Table Head</td>
<td>The set of rows defining the column headers in a table.</td>
</tr>
<tr>
<td class="code"><tbody></td>
<td>Table Body</td>
<td>The set of rows containing actual table data.</td>
</tr>
<tr>
<td class="code"><tfoot></td>
<td>Table Foot</td>
<td>The set of rows defining the fotter in a table.</td>
</tr>
<tr>
<td class="code"><tr></td>
<td>Table Row</td>
<td>The table row container.</td>
</tr>
<tr>
<td class="code"><td></td>
<td>Table Data</td>
<td>The table data container.</td>
</tr>
</tbody>
</table>
<h2>Table Attributes</h2>
<table>
<thead>
<th>Attribute</th>
<th>Name</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td class="code">colspan</td>
<td>Column Span</td>
<td>Defines how many columns a td element should span.</td>
</tr>
<tr>
<td class="code">rowspan</td>
<td>Row Span</td>
<td>Defines how many rows a td element should span.</td>
</tr>
</tbody>
</table>
</body>
</html>