ASCII码 ASCII码

html制作课程表格代码(用HTML5标签设计课程表)

发布于:2022-06-29 19:08:50  栏目:技术文档
  1. <table border="1" width="500" cellspacing="0" cellpadding="5" align="center">
  2. <caption><h3>五星村小学课程表</h3></caption>
  3. <thead>
  4. <tr bgcolor="#e5e5e5">
  5. <th>时间</th>
  6. <th>周一</th>
  7. <th>周二</th>
  8. <th>周三</th>
  9. <th>周四</th>
  10. <th>周五</th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <tr>
  15. <td rowspan="4" bgcolor="#e7f7f7">上午</td>
  16. <td>数学</td>
  17. <td>语文</td>
  18. <td>语文</td>
  19. <td>英语</td>
  20. <td>体育</td>
  21. </tr>
  22. <tr>
  23. <td>语文</td>
  24. <td>法制</td>
  25. <td>科学</td>
  26. <td>数学</td>
  27. <td>数学</td>
  28. </tr>
  29. <tr>
  30. <td>音乐</td>
  31. <td>语文</td>
  32. <td>英语</td>
  33. <td>电脑</td>
  34. <td>数学</td>
  35. </tr>
  36. <tr>
  37. <td>数学</td>
  38. <td>数学</td>
  39. <td>语文</td>
  40. <td>语文</td>
  41. <td>音乐</td>
  42. </tr>
  43. <tr>
  44. <td colspan="6">中午休息</td>
  45. </tr>
  46. <tr>
  47. <td rowspan="3" bgcolor="#e7f7f7">下午</td>
  48. <td>数学</td>
  49. <td>语文</td>
  50. <td>英语</td>
  51. <td>数学</td>
  52. <td>数学</td>
  53. </tr>
  54. <tr>
  55. <td>数学</td>
  56. <td>数学</td>
  57. <td>数学</td>
  58. <td>数学</td>
  59. <td>数学</td>
  60. </tr>
  61. <tr>
  62. <td>英语</td>
  63. <td>数学</td>
  64. <td>数学</td>
  65. <td>数学</td>
  66. <td>数学</td>
  67. </tr>
  68. <tr bgcolor="#e5e5e5">
  69. <td>备注:</td>
  70. <td colspan="5">每天下午15:30-17:30在校写完作业才可回家</td>
  71. </tr>
  72. </tbody>
  73. </table>
  74. <h3>注册表单</h3>
  75. <form action="" method="post">
  76. <fieldset>
  77. <legend>用户注册</legend>
  78. <div>
  79. <label for="email">邮箱:</label>
  80. <input type="email" name="email" id="email" placeholder="admin@qq.com" required>
  81. </div>
  82. <div>
  83. <label for="password">密码:</label>
  84. <input type="password" name="password" id="password" placeholder="*****" required>
  85. </div>
  86. </fieldset>
  87. <button>立即注册</button>
  88. </form>
相关推荐
阅读 +