博客列表 >0319作业

0319作业

千山暮雪
千山暮雪原创
2021年03月20日 22:26:57503浏览
学生课程表:

课程表

学生课程表表格源码:
  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. <style>
  9. table {
  10. border-collapse: collapse;
  11. }
  12. th {
  13. text-align: center;
  14. vertical-align: middle;
  15. }
  16. td {
  17. text-align: center;
  18. vertical-align: middle;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <table border="1">
  24. <caption>PHP中文网课程安排表</caption>
  25. <thead>
  26. <tr>
  27. <th>时间</th>
  28. <th>星期一</th>
  29. <th>星期二</th>
  30. <th>星期三</th>
  31. <th>星期四</th>
  32. <th>星期五</th>
  33. <th>星期六</th>
  34. <th>星期日</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <tr>
  39. <td rowspan="2" bgcolor="#dddddd">上午</td>
  40. <td rowspan="2">PHP</td>
  41. <td>JAVA</td>
  42. <td>Python</td>
  43. <td>C++</td>
  44. <td>HTML</td>
  45. <td rowspan="2" colspan="2">CSS</td>
  46. <!-- <td>Mysql</td> -->
  47. </tr>
  48. <tr>
  49. <!-- <td></td> -->
  50. <!-- <td>PHP</td> -->
  51. <td>JAVA</td>
  52. <td>Python</td>
  53. <td>C++</td>
  54. <td>HTML</td>
  55. <!-- <td>CSS</td> -->
  56. <!-- <td>Mysql</td> -->
  57. </tr>
  58. <tr>
  59. <td rowspan="2">下午</td>
  60. <td>PHP</td>
  61. <td>JAVA</td>
  62. <td colspan="2">Python</td>
  63. <!-- <td>C++</td> -->
  64. <td>HTML</td>
  65. <td>CSS</td>
  66. <td>Mysql</td>
  67. </tr>
  68. <tr>
  69. <!-- <td></td> -->
  70. <td>PHP</td>
  71. <td>JAVA</td>
  72. <td>Python</td>
  73. <td>C++</td>
  74. <td>HTML</td>
  75. <td>CSS</td>
  76. <td>Mysql</td>
  77. </tr>
  78. <tr>
  79. <td>晚自习</td>
  80. <td colspan="7" bgcolor="#03a9f4">晚间20:00至22:00</td>
  81. <!-- <td>JAVA</td>
  82. <td>Python</td>
  83. <td>C++</td>
  84. <td>HTML</td>
  85. <td>CSS</td>
  86. <td>Mysql</td> -->
  87. </tr>
  88. </tbody>
  89. </table>
  90. </body>
  91. </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. <style>
  10. label {
  11. display: inline-block;
  12. text-align: justify;
  13. text-align-last: justify;
  14. margin-right: 10px;
  15. }
  16. </style>
  17. <body>
  18. <form action="" method="POST" enctype="multipart/form-data">
  19. <div>
  20. <label for="username">用户名:</label>
  21. <input type="text" name="username" id="username" placeholder="8-12位字母与数字" required autofocus>
  22. </div>
  23. <div>
  24. <label for="pwd">密&nbsp;&nbsp;&nbsp;码:</label></label>
  25. <input type="password" name="pwd" id="pwd" placeholder="8-12位字母与数字" required>
  26. </div>
  27. <div>
  28. <label for="pwd">邮&nbsp;&nbsp;&nbsp;箱:</label></label>
  29. <input type="password" name="email" id="email" placeholder="demo@email.com" required>
  30. </div>
  31. <div>
  32. <label for="male">性&nbsp;&nbsp;&nbsp;别:</label>
  33. <input type="radio" name="gender" id="male"><label for="male"></label>
  34. <input type="radio" name="gender" id="female"><label for="female"></label>
  35. </div>
  36. <div>
  37. <label for="fishing">爱&nbsp;&nbsp;&nbsp;好:</label>
  38. <input type="checkbox" name="like[]" id="shoot"><label for="shoot">摄影</label>
  39. <input type="checkbox" name="like[]" id="game"><label for="game">游戏</label>
  40. <input type="checkbox" name="like[]" id="fishing"><label for="fishing">钓鱼</label>
  41. <input type="checkbox" name="like[]" id="basketball"><label for="basketball">篮球</label>
  42. </div>
  43. <div>
  44. <label for="">签&nbsp;&nbsp;&nbsp;名:</label>
  45. <input type="search" list="single"></input>
  46. <datalist id="single">
  47. <option value="不要怀念哥,哥是个传说">
  48. <option value="要输就输给追求,要嫁就嫁给幸福">
  49. <option value="我喜欢你的性格,但不喜欢你的性别">
  50. </datalist>
  51. </div>
  52. <div>
  53. <p>个人说明:</p>
  54. <textarea name="" id="" cols="30" rows="10"></textarea>
  55. </div>
  56. <div>
  57. <label for="area">区域:</label>
  58. <select id="area">
  59. <option value="">请选择</option>
  60. <option value="1" selected>中国</option>
  61. <option value="1">美国</option>
  62. <option value="1">欧洲</option>
  63. <option value="1">非洲</option>
  64. </select>
  65. </div>
  66. <div>
  67. <button type="submit">提交</button>
  68. </div>
  69. </form>
  70. </body>
  71. </html>
声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议