代码实现效果如下:
代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<table>
<caption>课程表</caption>
<tr>
<td colspan="1" rowspan="1">项目</td>
<td colspan="5" rowspan="1">上课</td>
<td colspan="2" rowspan="1">休息</td>
</tr>
<tr>
<td colspan="1" rowspan