Blogger Information
Blog 25
fans 1
comment 0
visits 12994
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
图文列表导航组件以及表格制作
xueblog9的进阶之旅
Original
427 people have browsed it

图文列表导航组件以及表格制作

图文列表

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  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>
  11. <li><a href="https://www.baidu.com" target="_blank">这个跳转到百度<img src="https://www.baidu.com/img/flexible/logo/pc/result.png" alt="这个跳转到百度" width="100"></a></li>
  12. <hr>
  13. <li><a href="https://www.php.cn" target="_blank">这个跳转到php中文网<img src="https://img.php.cn/upload/course/000/000/001/624e4c82a65d0931.jpg" alt="这个跳转到php中文网" width="100"></a></li>
  14. <hr>
  15. <li><a href="https://www.iqiyi.com" target="_blank">这个跳转到爱奇艺<img src="https://bizaladdin-image.baidu.com/0/pic/1924681018_-408011434_1449421733.jpg" alt="这个跳转到爱奇艺" width="100"></a></li>
  16. </ul>
  17. </body>
  18. </html>

效果如下

  • 这个跳转到百度这个跳转到百度

  • 这个跳转到php中文网这个跳转到php中文网

  • 这个跳转到爱奇艺这个跳转到爱奇艺

课程表

源码

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  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. <style>
  11. table,tbody,th,tr,td {border: 1px solid black;border-collapse: collapse;}
  12. th{background-color: aquamarine;}
  13. </style>
  14. <table>
  15. <caption>课 程 表</caption>
  16. <thead>
  17. <th>时间</th>
  18. <th>星期一</th>
  19. <th>星期二</th>
  20. <th>星期三</th>
  21. <th>星期四</th>
  22. <th>星期五</th>
  23. <th>星期六</th>
  24. <th>星期日</th>
  25. </thead>
  26. <tbody>
  27. <tr>
  28. <td rowspan="4" bgcolor="red">上午</td>
  29. <td>语文课</td>
  30. <td>语文课</td>
  31. <td>语文课</td>
  32. <td >语文课</td>
  33. <td >语文课</td>
  34. <td rowspan="8" colspan="2" bgcolor="grey">想干啥干啥</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>语文课</td>
  45. <td>语文课</td>
  46. <td>语文课</td>
  47. <td>语文课</td>
  48. <td>语文课</td>
  49. </tr>
  50. <tr>
  51. <td>语文课</td>
  52. <td>语文课</td>
  53. <td>语文课</td>
  54. <td>语文课</td>
  55. <td>语文课</td>
  56. </tr>
  57. <tr>
  58. <td colspan="6" bgcolor="yellow" style="text-align: center">午休时间</td>
  59. </tr>
  60. <tr>
  61. <td rowspan="3" bgcolor="green">下午</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. <tr>
  76. <td>语文课</td>
  77. <td>语文课</td>
  78. <td>语文课</td>
  79. <td>语文课</td>
  80. <td>语文课</td>
  81. </tr>
  82. </tbody>
  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