Blogger Information
Blog 4
fans 0
comment 0
visits 1196
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
跟着大牛学PHP--HTML标签和表格
奔跑的金豆
Original
331 people have browsed it

一、使用列表、图片制作一个图文列表或者导航

  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. <ol>
  11. <li><a href="https://www.php.cn/course/1426.html"><img src="https://img.php.cn/upload/course/000/000/068/629723b6eb410512.png" alt="TypeScript全面解读课程" width="200"> TypeScript全面解读课程</a></li>
  12. <li><a href="https://www.php.cn/course/1419.html"><img src="https://img.php.cn/upload/course/000/000/068/6282079ba5097121.jpg" alt="PHP上传文件—入门到实战系列必学教程" width="200">PHP上传文件—入门到实战系列必学教程</a>
  13. </li>
  14. <li><a href="https://www.php.cn/course/1418.html"><img src="https://img.php.cn/upload/course/000/000/068/627e50fae9f42783.jpg" alt="极限编程—程序员修炼之道" width="200">极限编程—程序员修炼之道</a></li>
  15. </ol>
  16. </body>
  17. </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>Document</title>
  8. </head>
  9. <body>
  10. <table width="500" border="1">
  11. <caption>课程表</caption>
  12. <tbody>
  13. <tr bgcolor="red">
  14. <td align="center">时 间</td>
  15. <td align="center">星期一</td>
  16. <td align="center">星期二</td>
  17. <td align="center">星期三</td>
  18. <td align="center">星期四</td>
  19. <td align="center">星期五</td>
  20. </tr>
  21. <tr align="center">
  22. <td>08:00-08:45</td>
  23. <td>语文</td>
  24. <td>语文</td>
  25. <td>语文</td>
  26. <td>语文</td>
  27. <td>语文</td>
  28. </tr>
  29. <tr align="center">
  30. <td>09:00-09:45</td>
  31. <td>数学</td>
  32. <td>数学</td>
  33. <td>数学</td>
  34. <td>数学</td>
  35. <td>数学</td>
  36. </tr>
  37. <tr align="center">
  38. <td>10:00-10:45</td>
  39. <td>外语</td>
  40. <td>外语</td>
  41. <td>外语</td>
  42. <td>外语</td>
  43. <td>外语</td>
  44. </tr>
  45. <tr align="center">
  46. <td>11:00-11:45</td>
  47. <td>音乐</td>
  48. <td>音乐</td>
  49. <td>音乐</td>
  50. <td>音乐</td>
  51. <td>音乐</td>
  52. </tr>
  53. <tr align="center">
  54. <td>12:00-14:00</td>
  55. <td colspan="5">午休</td>
  56. </tr>
  57. <tr align="center">
  58. <td>14:00-14:45</td>
  59. <td>体育</td>
  60. <td>体育</td>
  61. <td>体育</td>
  62. <td>体育</td>
  63. <td>体育</td>
  64. </tr>
  65. <tr align="center">
  66. <td>15:00-15:45</td>
  67. <td>美术</td>
  68. <td>美术</td>
  69. <td>美术</td>
  70. <td>美术</td>
  71. <td>美术</td>
  72. </tr>
  73. <tr align="center">
  74. <td>16:00-16:45</td>
  75. <td>自习</td>
  76. <td>自习</td>
  77. <td>自习</td>
  78. <td>自习</td>
  79. <td>自习</td>
  80. </tr>
  81. <tr>
  82. <td colspan="6">备注:</td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </body>
  87. </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