一.表格

表格

  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
  11. border="1"
  12. width="80%"
  13. align="center"
  14. cellspacing="0"
  15. cellpadding="5"
  16. >
  17. <caption style="font-weight: bolder; margin-bottom: 1em">
  18. 课时表
  19. </caption>
  20. <thead>
  21. <tr bgcolor="lightcyan">
  22. <th colspan="2">时间</th>
  23. <th>星期一</th>
  24. <!--td-->
  25. <th>星期二</th>
  26. <th>星期三</th>
  27. <th>星期四</th>
  28. <th>星期五</th>
  29. <!-- <th></th> -->
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <tr>
  34. <th rowspan="3">上午</th>
  35. <th>9:00-9:40</th>
  36. <th>语文</th>
  37. <th>数学</th>
  38. <th>英语</th>
  39. <th>音乐</th>
  40. <th>体育</th>
  41. <!-- <th></th> -->
  42. </tr>
  43. <tr>
  44. <!-- <th></th> -->
  45. <th>9:55-10:35</th>
  46. <th>语文</th>
  47. <th>数学</th>
  48. <th>英语</th>
  49. <th>音乐</th>
  50. <th>体育</th>
  51. </tr>
  52. <tr>
  53. <!-- <th></th> -->
  54. <th>10:50-11:30</th>
  55. <th>语文</th>
  56. <th>英语</th>
  57. <th>数学</th>
  58. <th>音乐</th>
  59. <th>体育</th>
  60. </tr>
  61. <tr>
  62. <th colspan="7">午休(11:30-13:00)</th>
  63. <!-- <th></th>
  64. <th></th>
  65. <th></th>
  66. <th></th>
  67. <th></th>
  68. <th></th> -->
  69. </tr>
  70. <tr>
  71. <th
  72. rowspan="2
  73. "
  74. >
  75. 下午
  76. </th>
  77. <th>13:00-13:40</th>
  78. <th>语文</th>
  79. <th>英语</th>
  80. <th>数学</th>
  81. <th>音乐</th>
  82. <th>体育</th>
  83. </tr>
  84. <tr>
  85. <th>13:55-14:35</th>
  86. <th>数学</th>
  87. <th>英语</th>
  88. <th>语文</th>
  89. <th>体育</th>
  90. <th>音乐</th>
  91. <!-- <th></th> -->
  92. </tr>
  93. </tbody>
  94. <tfoot>
  95. <tr>
  96. <th>备注</th>
  97. <th colspan="6">每天16:00之前提交作业</th>
  98. <!-- <>> -->
  99. <!-- <th></th> -->
  100. <!-- <th></th> -->
  101. <!-- <th></th> -->
  102. <!-- <th></th> -->
  103. </tr>
  104. </tfoot>
  105. </table>
  106. </body>
  107. </html>

二。图片/链接/列表

  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 class="nav" style="display: flex; list-style: none">
  11. <li class="item">
  12. <a href="https://www.php.cn/course/1401.html"><img src="static/images/623057031def7707.jpg" alt="" /></a>
  13. </li>
  14. &nbsp;
  15. <li class="item">
  16. <a href="https://www.php.cn/course/1400.html"><img src="static/images/622efba5b8f59620.jpg" alt="" /></a>
  17. </li>
  18. &nbsp;
  19. <li class="item">
  20. <a href="https://www.php.cn/course/1399.html"><img src="static/images/622ee24c8180c270.jpg" alt="" /></a>
  21. </li>
  22. &nbsp;
  23. </ul>
  24. </body>
  25. </html>

更多相关文章

  1. markdown的常用语法
  2. 图文列表+课程表
  3. 12月22日课程表作业
  4. 表格与表单
  5. 前端html基础知识之图片/链接/列表和表单
  6. 表格和表单的应用
  7. 用table做课程表、用表单做注册界面
  8. 0319作业
  9. 学生课程表表格/用户注册表单

随机推荐

  1. 关于Android软键盘弹出,会把原来的界面挤
  2. Android SDK相关问题
  3. Android xml资源文件中@、@android:type
  4. 让star也具有CheckBox 功能
  5. android程序在Layout中设置控件水平或垂
  6. Android TextView 文字居中
  7. android 布局文件详解
  8. linux ubuntu android SDK安装
  9. Android系统自带样式(@android:style/)
  10. android layout 属性大全