<html>
<body>
<table width="100%" border="1">
<tr>
<th>one</th>
<th>two</th>
<th>张三</th>
<th>李四</th>
</tr>
<tr>
<td colspan="1">January</td>
</tr>
<tr>
<td colspan="2">February</td>
</tr>
<tr>
<td colspan="3">January</td>
</tr>
<tr>
<td colspan="4">February</td>
</tr>
</table>
</body>
</html>
横跨三行的表头单元格:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
</head>
<body>
<table border="1">
<tr>
<th rowspan="3">销售</th>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
<tr>
<td>February</td>
<td>$80</td>
</tr>
</table>
</body>
</html>