ASCII码 ASCII码

HTML图片列表及表格制作课程表

发布于:2022-03-19 10:15:46  栏目:技术文档

html语法

1、图片列表

图片列表

  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. <!-- 导航ul+a+imt -->
  11. <ul class="nav" style="display: flex;list-style: none;">
  12. <li class="item"><a href=""><img src="static/images/part1.jpg" alt="part1"></a></li>&nbsp;
  13. <li class="item"><a href=""><img src="static/images/part2.jpg" alt="part2"></a></li>&nbsp;
  14. <li class="item"><a href=""><img src="static/images/part3.jpg" alt="part3"></a></li>&nbsp;
  15. </ul>
  16. </body>
  17. </html>

2、表格课程表

课程表

  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. <style>
  9. tr{
  10. text-align: center;
  11. }
  12. </style>
  13. </head>
  14. <body>
  15. <table border="1" width="450" cellspacing="0" cellpadding="5" align="center">
  16. <caption>
  17. <h3>内蒙古第四小学</h3>
  18. </caption>
  19. <thead>
  20. <tr>
  21. <th>节次\周</th>
  22. <th>周一</th>
  23. <th>周二</th>
  24. <th>周三</th>
  25. <th>周四</th>
  26. <th>周五</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. <tr>
  31. <td>1</td>
  32. <td>数学</td>
  33. <td>语文</td>
  34. <td>数学</td>
  35. <td>语文</td>
  36. <td>数学</td>
  37. </tr>
  38. <tr>
  39. <td>2</td>
  40. <td>语文</td>
  41. <td>数学</td>
  42. <td>语文</td>
  43. <td>数学</td>
  44. <td>语文</td>
  45. </tr>
  46. <tr>
  47. <td>3</td>
  48. <td>体育</td>
  49. <td>美术</td>
  50. <td>体育</td>
  51. <td>道德</td>
  52. <td>体育</td>
  53. </tr>
  54. <tr>
  55. <td>4</td>
  56. <td>科技</td>
  57. <td>劳动</td>
  58. <td>科学</td>
  59. <td>心理</td>
  60. <td>实践</td>
  61. </tr>
  62. <tr>
  63. <td align="center" colspan="6">午休</td>
  64. </tr>
  65. <tr>
  66. <td>5</td>
  67. <td>科学</td>
  68. <td>体育</td>
  69. <td>实践</td>
  70. <td>道德</td>
  71. <td>英语</td>
  72. </tr>
  73. <tr>
  74. <td>6</td>
  75. <td>英语</td>
  76. <td>英语</td>
  77. <td>音乐</td>
  78. <td>语文</td>
  79. <td>语文</td>
  80. </tr>
  81. <tr>
  82. <td></td>
  83. <td>写字</td>
  84. <td>写字</td>
  85. <td>写字</td>
  86. <td>写字</td>
  87. <td>写字</td>
  88. </tr>
  89. <tr>
  90. <td>7</td>
  91. <td>德育</td>
  92. <td>音乐</td>
  93. <td>书法</td>
  94. <td>体育</td>
  95. <td></td>
  96. </tr>
  97. <tfoot>
  98. <tr>
  99. <td>备注:</td>
  100. <td colspan="5">每天下午15:30-17:30在校写完作业才可回家</td>
  101. </tr>
  102. </tfoot>
  103. </tbody>
  104. </table>
  105. </body>
  106. </html>
相关推荐
阅读 +