Blogger Information
Blog 19
fans 0
comment 0
visits 10719
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
HTML实战作业——课程表
牙森江
Original
764 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. <body>
  10. <!-- 表 -->
  11. <table border="1" align="center" width="600px" height="400px">
  12. <!-- 标题 -->
  13. <caption><h2>课程表</h2></caption>
  14. <!-- 表头 -->
  15. <thead align="center">
  16. <tr>
  17. <th>时间</th>
  18. <th>星期一</th>
  19. <th>星期二</th>
  20. <th>星期三</th>
  21. <th>星期四</th>
  22. <th>星期五</th>
  23. </tr>
  24. </thead>
  25. <!-- 表体 -->
  26. <tbody align="center">
  27. <tr>
  28. <td rowspan="4">上午</td>
  29. <td>语文</td>
  30. <td>语文</td>
  31. <td>数学</td>
  32. <td>语文</td>
  33. <td>语文</td>
  34. </tr>
  35. <tr>
  36. <td>语文</td>
  37. <td>数学</td>
  38. <td>语文</td>
  39. <td>数学</td>
  40. <td>数学</td>
  41. </tr>
  42. <tr>
  43. <td>数学</td>
  44. <td>体育</td>
  45. <td>语文</td>
  46. <td>道法</td>
  47. <td>科学</td>
  48. </tr>
  49. <tr>
  50. <td>音乐</td>
  51. <td>语文</td>
  52. <td>语文</td>
  53. <td>体育</td>
  54. <td>总合</td>
  55. </tr>
  56. <tr>
  57. <td>午休</td>
  58. <td colspan="5">午休时间为2:00~4:00</td>
  59. </tr>
  60. <tr>
  61. <td rowspan="2">下午</td>
  62. <td>体育</td>
  63. <td>美术</td>
  64. <td>道法</td>
  65. <td>语文</td>
  66. <td>体育</td>
  67. </tr>
  68. <tr>
  69. <td>班队会</td>
  70. <td>劳动</td>
  71. <td>体育</td>
  72. <td>音乐</td>
  73. <td>体育</td>
  74. </tr>
  75. </tbody>
  76. <!-- 表尾 -->
  77. <tfoot align="center">
  78. <tr>
  79. <td>备注</td>
  80. <td colspan="5">放学</td>
  81. </tr>
  82. </tfoot>
  83. </table>
  84. </body>
  85. </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