ASCII码 ASCII码

图文列表与课程表代码实现

发布于:2022-03-19 11:31:39  栏目:技术文档

图文列表

代码展示

  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. <ui style="display:flex;list-style: none">
  11. <li><a href="https://www.php.cn/" target="_blank"><img src="./img/1.gif" alt="丸子"><p>PHP中文网</p></a></li>&nbsp
  12. <li><a href="https://www.php.cn/" target="_blank"><img src="./img/1.gif" alt="丸子"><p>PHP中文网</p></a></li>&nbsp
  13. <li><a href="https://www.php.cn/"target="_blank"><img src="./img/1.gif" alt="丸子"><p>PHP中文网</p></a></li>&nbsp
  14. </ui>
  15. </body>
  16. </html>

课程表

代码展示

  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. <table align="center" border="1" width="500" height="350" cellspacing="0.3" cellpadding="5">
  11. <thead>
  12. <caption style="margin: 10px;">
  13. <b>合肥市南门小学六年级课程表</b>
  14. </caption>
  15. </thead>
  16. <tbody>
  17. <tr bgcolor="#e5e5e5">
  18. <th>时间</th>
  19. <th>周一</th>
  20. <th>周二</th>
  21. <th>周三</th>
  22. <th>周四</th>
  23. <th>周五</th>
  24. </tr>
  25. <tr>
  26. <td rowspan="4" bgcolor="#e4f4f7">上午</td>
  27. <td>数学</td>
  28. <td>语文</td>
  29. <td>语文</td>
  30. <td>英语</td>
  31. <td>体育</td>
  32. </tr>
  33. <tr>
  34. <!-- <td></td> -->
  35. <td>语文</td>
  36. <td>法制</td>
  37. <td>科学</td>
  38. <td>数学</td>
  39. <td>数学</td>
  40. </tr>
  41. <tr>
  42. <!-- <td></td> -->
  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. <td>音乐</td>
  56. </tr>
  57. <tr>
  58. <td colspan="6" align="center">中午休息</td>
  59. <!-- <td></td>
  60. <td></td>
  61. <td></td>
  62. <td></td>
  63. <td></td> -->
  64. </tr>
  65. <tr>
  66. <td rowspan="3" bgcolor="#e4f4f7">下午</td>
  67. <td>数学</td>
  68. <td>语文</td>
  69. <td>英语</td>
  70. <td>数学</td>
  71. <td>数学</td>
  72. </tr>
  73. <tr>
  74. <!-- <td></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. <tfoot>
  90. <tr bgcolor="#e5e5e5" align="center">
  91. <td>备注:</td>
  92. <td colspan="5">每天下午15:30-17:30在校写完作业才可回家</td>
  93. <!-- <td></td>
  94. <td></td>
  95. <td></td>
  96. <td></td> -->
  97. </tr>
  98. </tfoot>
  99. </tbody>
  100. </table>
  101. </body>
  102. </html>
相关推荐
阅读 +