ASCII码 ASCII码

图文列表和课程表

发布于:2022-03-18 09:42:50  栏目:技术文档

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>Document</title>
  8. </head>
  9. <body>
  10. <div class="nav" style="text-align: center;">
  11. <li class="item">
  12. <a href="https://apple.com.cn">图文列表一</a>
  13. <a href="https://apple.com.cn"><img src="https://www.apple.com.cn/v/ipad-air/q/images/overview/hero/main_ipad__d991v5y9hgom_large_2x.png" width="720px" height="480px" alt="" /></a>
  14. </li>
  15. &nbsp;&nbsp;
  16. <li class="item">
  17. <a href="https://apple.com.cn">图文列表二</a>
  18. <a href="https://apple.com.cn"><img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fup.enterdesk.com%2Fphoto%2F2008-11-28%2F200811171716584237.jpg&refer=http%3A%2F%2Fup.enterdesk.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1650124387&t=f23972ecc9ec1fb3853bff6586dc3da2" width="720px" height="480px" alt="" /></a>
  19. </li>
  20. &nbsp;&nbsp;
  21. <li class="item">
  22. <a href="https://apple.com.cn">图文列表三</a>
  23. <a href="https://apple.com.cn"><img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fstatic.lieyunwang.com%2Fupload2%2Ffile%2F202109%2F150653u2myzp.png&refer=http%3A%2F%2Fstatic.lieyunwang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1650124387&t=d36800423f3e6765d470c360775a41ec" width="720px" height="480px" alt="" /></a>
  24. </li>
  25. </div>
  26. </body>
  27. </html>

2. 课程表

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title></title>
  6. <style type="text/css">
  7. table{
  8. border: 1px solid #ccc;
  9. border-collapse: collapse;
  10. text-align: center;
  11. }
  12. tr,th,td{
  13. width: 80px;
  14. height: 30px;
  15. border: 1px solid #ccc;
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <table align="center">
  21. <caption>课程表</caption>
  22. <thead>
  23. <tr>
  24. <th></th>
  25. <th>星期一</th>
  26. <th>星期二</th>
  27. <th>星期三</th>
  28. <th>星期四</th>
  29. <th>星期五</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr>
  34. <td rowspan="3">上午</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. </tr>
  48. <tr>
  49. <td>数学</td>
  50. <td>英语</td>
  51. <td>语文</td>
  52. <td>历史</td>
  53. <td>地理</td>
  54. </tr>
  55. <tr>
  56. <td rowspan="3">下午</td>
  57. <td>数学</td>
  58. <td>英语</td>
  59. <td>语文</td>
  60. <td>历史</td>
  61. <td>地理</td>
  62. </tr>
  63. <tr>
  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. </tbody>
  78. </table>
  79. </body>
  80. </html>
相关推荐
阅读 +