10.17table作业
<!DOCTYPE html>
<html lang="zh-CN">
<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>table</title>
<style>
table{ border-collapse: collapse;}
th{height: 70px;background: #9F9F9F}
th,td{border:solid 1px #000000;
margin: 0;padding: 10px;}
.h70{height: 70px;}
</style>
</head>
<body>
<table width="100%" border="1">
<caption>
<h3>课程表</h3>
</caption>
<thead>
<tr>
<th>时间\星期</th>
<th>星期一</th>
<th>星期二</th>
<th>星期三</th>
<th>星期四</th>
<th>星期五</th>
</tr>
</thead>
<tbody>
<tr>
<td>8:00-9:00</td>
<td rowspan="2">语文</td>
<td>数学</td>
<td>历史</td>
<td>语文</td>
<td>英语</td>
</tr>
<tr>
<td>9:00-10:00</td>
<td rowspan="2">英语</td>
<td>地理</td>
<td>数学</td>
<td>政治</td>
</tr>
<tr>
<td>10:00-11:00</td>
<td>数学</td>
<td>物理</td>
<td>物理</td>
<td>实验</td>
</tr>
<tr>
<td>11:00-12:00</td>
<td>英语</td>
<td>语文</td>
<td>化学</td>
<td>化学</td>
<td>劳动</td>
</tr>
<tr>
<td class="h70">12:00-14:00</td>
<td colspan="5">午休</td>
</tr>
<tr>
<td>14:00-15:00</td>
<td>生物</td>
<td>音乐</td>
<td rowspan="2">数学</td>
<td>地理</td>
<td>体育</td>
</tr>
<tr>
<td>15:00-16:00</td>
<td>历史</td>
<td>体育</td>
<td>历史</td>
<td>美术</td>
</tr>
<tr>
<td>16:00-17:00</td>
<td>地理</td>
<td>物理</td>
<td>生物</td>
<td>英语</td>
<td>物理</td>
</tr>
<tr>
<td>17:00</td>
<td colspan="5">放学</td>
</tr>
</tbody>
</table>
</body>
</html>