html css 课表
作者:互联网
<!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>三口一杯奶茶的饭桶</title>
<style>
div {color: rgb(250, 248, 243);}
</style>
</head>
<body>
<table border="1" style="text-align: center; width: 1000px; height: 1000px;"cellspacing="0">
<tr>
<th colspan="7",align="center">课程表</th>
</tr>
<tr style="background-color:ghostwhite" >
<!--<th>表头加粗居中</th>-->
<th colspan="2">时间</th>
<th>星期一</th>
<th>星期二</th>
<th>星期三</th>
<th>星期四</th>
<th>星期五</th>
</tr>
<tr>
<th rowspan="5">上<br>午</th>
<th>8:10-8:50</th>
<td style="background-color: rgb(221,255,236);"></td>
<td style="background-repeat:no-repeat; background-size:cover;background-color: rgb(243, 178, 161);" , rowspan="2"><div>大学物理B<br>B206<br>1-16周</div></td>
<td style="background-repeat:no-repeat; background-size:cover;background-color: rgb(243, 178, 161);", rowspan="2"><div>大学英语(二)<br>C302<br>1-14周</div></td>
<td style="background-color: rgb(221,255,236) ;"></td>
<td style="background-color: rgb(243, 178, 161);", rowspan="2"><div>思想道德修养与<br>法律基础<br>B204<br>1-12周</div></td>
</tr>
<tr>
<th>8:15-9:35</th>
<td style="background-color: rgb(221,255,236);"></td>
<td style="background-color: rgb(221,255,236);"></td>
</tr>
<tr>
<th>9:50-10:30</th>
<!--rowspan跨行合并,<br>输入空行-->
<td style="background-color: rgb(243, 178, 161);", rowspan="2"><div>大学英语(二)<br>C302<br>1-14周</div></td>
<td style="background-color: rgb(202,81,61)", rowspan="2"><div>高等数学A(二)<br>C302<br>1-16周</div></td>
<td style="background-color: rgb(221,255,236);"></td>
<td style="background-color: rgb(255, 102, 102);"rowspan="3"><div>面向对象程序设计<br>现北406\410<br>1-16周</div></td>
<td style="background-color: rgb(221,255,236);"></td>
</tr>
<tr>
<th>10:35-11:15</th>
<td style="background-color: rgb(221,255,236);"></td>
<td style="background-color: rgb(221,255,236);"></td>
</tr>
<tr style="background-color: rgb(221,255,236);">
<th style="background-color: white;" >11:20-12:00</th>
<td ></td>
<td ></td>
<td ></td>
<td></td>
</tr>
<tr>
<th rowspan="4">下<br>午</th>
<th>13:15-13:55</th>
<td style="background-color:rgb(138, 179, 80);", rowspan="2"><div>离散数学<br>C405<br>1-16周</div></td>
<td style="background-color: rgb(243, 178, 161);", rowspan="2"><div>思想道德修养与<br>法律基础<br>B204<br>1-12周</div></td>
<td style="background-color: rgb(255, 237, 221);"></td>
<td style="background-color: rgb(202,81,61)", rowspan="2", rowspan="2"><div>高等数学A(二)<br>C302<br>1-16周</div></td>
<td style="background-color: rgb(243, 178, 161);", rowspan="2"><div>大学物理B<br>B206<br>1-16周</div></td>
</tr>
<tr>
<th>14:00-14:40</th>
<td style="background-color: rgb(255, 237, 221);"></td>
</tr>
<tr style="background-color: rgb(255, 237, 221);">
<th style="background-color: white;">14:50-15:30</th>
<td></td>
<td></td>
<td></td>
<td style="background-color:rgb(138, 179, 80);", rowspan="2"><div>离散数学<br>C405<br>1-16周</div></td>
<td></td>
</tr>
<tr style="background-color: rgb(255, 237, 221);">
<th style="background-color: white;">15:35-16:15</th>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr style="background-color: rgb(221, 236, 255);">
<th style="background-color: white;", rowspan="3">晚<br>上</th>
<th style="background-color: white;">18:00-18:40</th>
<td></td>
<td style="background-color: rgb(243, 178, 161);", rowspan="3"><div>军事理论<br>实北112<br>1-12周</div></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr style="background-color: rgb(221, 236, 255);">
<th style="background-color: white;">18:45-19:25</th>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr style="background-color: rgb(221, 236, 255);">
<th style="background-color: white;">19:30-20:10</th>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<table>
</body>
</html>
标签:10,12,15,14,16,C3021,课表,html,css 来源: https://blog.csdn.net/weixin_52272028/article/details/115338344