55 lines
1.0 KiB
HTML
55 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width-device-width,initial-scale=1.0">
|
||
<title>表格进阶</title>
|
||
|
||
</head>
|
||
|
||
<body>
|
||
|
||
<!-- 表格
|
||
单元格的合并
|
||
列:rowspan
|
||
行:clospan
|
||
|
||
-->
|
||
<table border="1">
|
||
<tr>
|
||
<th>姓名</th>
|
||
<th>性别</th>
|
||
<th>年龄</th>
|
||
</tr>
|
||
<tr>
|
||
<td>司徒</td>
|
||
<td rowspan="2">女</td>
|
||
<td>20</td>
|
||
</tr>
|
||
<tr>
|
||
<td>无</td>
|
||
<!-- <td>女</td> -->
|
||
<td rowspan="3">21</td>
|
||
</tr>
|
||
<tr>
|
||
<td>司徒瑞祥</td>
|
||
<td>男</td>
|
||
<!-- <td>21</td> -->
|
||
</tr>
|
||
<tr>
|
||
<td>LDQ</td>
|
||
<td>男</td>
|
||
<!-- <td>21</td> -->
|
||
</tr>
|
||
<tr>
|
||
<td colspan="3"> <hr> </td>
|
||
|
||
</tr>
|
||
</table >
|
||
|
||
</body>
|
||
|
||
</html> |