-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
102 lines (88 loc) · 1.74 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
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>
<head>
<title>Element</title>
</head>
<body>
<!-- 无序列表 -->
<ul>
<li>BTC</li>
<li>ETH</li>
<li>SHIB</li>
</ul>
<!-- 有序列表 -->
<ol>
<li>BTC</li>
<li>ETH</li>
<li>SHIB</li>
</ol>
<!-- 定义列表 -->
<dl>
<dt>BTC</dt>
<dd>- desc1</dd>
<dd>- desc2</dd>
<dt>ETH</dt>
<dd>- desc1</dd>
<dd>- desc2</dd>
</dl>
<!-- 表格基本使用 -->
<table>
<tr>
<th>Name</th>
<th>Code</th>
<th>Price</th>
</tr>
<tr>
<td>比特币</td>
<td>BTC</td>
<td>19969</td>
</tr>
<tr>
<td>以太币</td>
<td>ETH</td>
<td>1,354</td>
</tr>
</table>
<!-- thead,tbody,tfoot -->
<table>
<thead>
<tr>
<th>Token</th>
<th>Cost</th>
</tr>
</thead>
<tfoot>
<tr>
<td>Total</td>
<td>180</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>BTC</td>
<td>100</td>
</tr>
<tr>
<td>ETH</td>
<td>80</td>
</tr>
</tbody>
</table>
<!-- 合并表格项,colspan和rowspan -->
<table>
<tr>
<th>Token</th>
<th>Price</th>
<th>Total</th>
</tr>
<tr>
<td>BTC</td>
<td>100</td>
<td rowspan="2">300</td>
</tr>
<tr>
<td>ETH</td>
<td>200</td>
</tr>
</table>
</body>
</html>