作业:制作表格

原创 2019-07-06 10:08:22 207
摘要:<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>课程表</title>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>课程表</title>
</head>
<body>
<table border="1" width="60%" bgcolor="#e9faff" cellpadding="2">
    <caption>课程表</caption>
    <tr align="center">
        <td colspan="2">时间\日期</td>
        <td>一</td>
        <td>二</td>
        <td>三</td>
        <td>四</td>
        <td>五</td>
    </tr>

    <tr align="center">
        <td rowspan="2">上午</td>
        <td>9:30-10:15</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
    </tr>

    <tr align="center">
        <td>10:25-11:10</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
    </tr>

    <tr>
        <td colspan="7">&nbsp;</td>
    </tr>

    <tr align="center">
        <td rowspan="2">下午</td>
        <td>14:30-15:15</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
    </tr>

    <tr align="center">
        <td>15:25-16:10</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
        <td>语文</td>
    </tr>
</table>
</body>
</html>


批改老师:天蓬老师批改时间:2019-07-06 13:12:12
老师总结:对于表格来说, 至少要一个<tbody>,下次记得加上

发布手记

热门词条