ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

html css 课表

2021-03-30 23:03:51  阅读:1410  来源: 互联网

标签:10 12 15 14 16 C3021 课表 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

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有