Blogger Information
Blog 9
fans 0
comment 0
visits 3865
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
用table制作小学课程表
靠近你深拥你
Original
598 people have browsed it

代码结构

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>我的课程表作业</title>
  8. </head>
  9. <style>
  10. table{
  11. border: solid black 1px;
  12. text-align: center;
  13. }
  14. th,td{
  15. width: 100px;
  16. height: 40px
  17. };
  18. </style>
  19. <body>
  20. <table border="1">
  21. <caption><h2>课程表</h2></caption>
  22. <thead>
  23. <th>类别</th>
  24. <th>星期一</th>
  25. <th>星期二</th>
  26. <th>星期四</th>
  27. <th>星期五</th>
  28. <th>星期六</th>
  29. <th>星期天</th>
  30. </thead>
  31. <tbody>
  32. <tr >
  33. <td colspan="7">晨读</td>
  34. </tr>
  35. <tr>
  36. <td rowspan="4">上午</td>
  37. <td>第一节</td>
  38. <td>语文</td>
  39. <td>数学</td>
  40. <td>语文</td>
  41. <td>数学</td>
  42. <td>语文</td>
  43. </tr>
  44. <tr>
  45. <td colspan="6" style="color: red;">大课间操</td>
  46. </tr>
  47. <tr>
  48. <td>第二节</td>
  49. <td>数学</td>
  50. <td>语文</td>
  51. <td>数学</td>
  52. <td>语文</td>
  53. <td>数学活动</td>
  54. </tr>
  55. <tr>
  56. <td>第三节</td>
  57. <td>语文</td>
  58. <td>美术</td>
  59. <td>安全健康</td>
  60. <td>音乐</td>
  61. <td>美术</td>
  62. </tr>
  63. <tr>
  64. <td colspan="7" style="color: blue;">午休时间</td>
  65. </tr>
  66. <!-- 以下为下午部分 -->
  67. <tr>
  68. <td rowspan="3">下午</td>
  69. <td>第四节</td>
  70. <td>品德与生活</td>
  71. <td>课外阅读</td>
  72. <td>语文</td>
  73. <td>品德与生活</td>
  74. <td>语文</td>
  75. </tr>
  76. <tr>
  77. <td>第五节</td>
  78. <td>队会班会</td>
  79. <td>音乐</td>
  80. <td>体育</td>
  81. <td>语文活动</td>
  82. <td>体育</td>
  83. </tr>
  84. <tr>
  85. <td>第六节</td>
  86. <td>体育</td>
  87. <td>礼仪课</td>
  88. <td>写字</td>
  89. <td>数学活动</td>
  90. <td>口语交际</td>
  91. </tr>
  92. </tbody>
  93. <tfoot>
  94. <tr>
  95. <td>备注</td>
  96. <td colspan="6">本课程表,为本年度最新课程计划教学表!</td>
  97. </tr>
  98. </tfoot>
  99. </table>
  100. </body>
  101. </html>

结果截图

html课程表

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:完成的很好,没什么问题,继续加油,只是在提交作业的时候要在“状态”这一栏选择“作业”进行提交
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
3 comments
王BOY 2023-07-05 15:25:06
学到了,原来还能这样写
1 floor
阿萨斯发大水
徐涛 2023-07-05 16:40:04
小白一下看懂了
王BOY 2023-07-05 15:25:23
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!