Blogger Information
Blog 4
fans 0
comment 0
visits 1271
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
用规范的HTML中表格的写法画一个课程表
飞天浪子
Original
256 people have browsed it

完整代码

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  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>Document</title>
  8. </head>
  9. <body>
  10. <table border="1">
  11. <caption>红星小学五年级课程表</caption>
  12. <thead>
  13. <tr>
  14. <th>时间</th>
  15. <th>星期一</th>
  16. <th>星期二</th>
  17. <th>星期三</th>
  18. <th>星期四</th>
  19. <th>星期五</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <tr>
  24. <td rowspan="5">上午</td>
  25. <td>语文</td>
  26. <td>语文</td>
  27. <td>英语</td>
  28. <td>语文</td>
  29. <td>数学</td>
  30. </tr>
  31. <tr>
  32. <td>数学</td>
  33. <td>英语</td>
  34. <td>数学</td>
  35. <td>语文</td>
  36. <td>历史</td>
  37. </tr>
  38. <tr>
  39. <td>体育</td>
  40. <td>数学</td>
  41. <td>政治</td>
  42. <td>英语</td>
  43. <td>美术</td>
  44. </tr>
  45. <tr>
  46. <td>语文</td>
  47. <td>数学</td>
  48. <td>电脑</td>
  49. <td>生物</td>
  50. <td>语文</td>
  51. </tr>
  52. <tr>
  53. <td>语文</td>
  54. <td>英语</td>
  55. <td>语文</td>
  56. <td>英语</td>
  57. <td>政治</td>
  58. </tr>
  59. <tr>
  60. <td colspan="6">中午休息时间</td>
  61. </tr>
  62. <tr>
  63. <td rowspan="3">下午</td>
  64. <td>英语</td>
  65. <td>音乐</td>
  66. <td>体育</td>
  67. <td>数学</td>
  68. <td>英语</td>
  69. </tr>
  70. <tr>
  71. <td>数学</td>
  72. <td>地理</td>
  73. <td>生物</td>
  74. <td>数学</td>
  75. <td>英语</td>
  76. </tr>
  77. <tr>
  78. <td>班会</td>
  79. <td>历史</td>
  80. <td>阅读</td>
  81. <td>地理</td>
  82. <td>阅读</td>
  83. </tr>
  84. </tbody>
  85. <tfoot>
  86. <tr>
  87. <td colspan="6">上午8:00-11:30,下午14:30-17:00</td>
  88. </tr>
  89. </tfoot>
  90. </table>
  91. </body>
  92. </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
0 comments
Author's latest blog post