欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

table制作简历和form简单用户注册

程序员文章站 2022-03-24 09:45:34
...

table制作简历

浏览效果

table制作简历和form简单用户注册

代码如下

  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>table制作简历</title>
  8. <style>
  9. body{
  10. text-align: center;
  11. }
  12. table{
  13. width: 700px;
  14. height: auto;
  15. margin: auto;
  16. }
  17. tr th{
  18. height: 30px;
  19. }
  20. .yan{
  21. background: #ccf;
  22. }
  23. tr td{
  24. width: 100px;
  25. height: 20px;
  26. }
  27. .s{
  28. height: 40px;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33. <table border="1" cellpadding="0" cellspacing="0">
  34. <tr><th class="yan" colspan="7">个人基本资料</th></tr>
  35. <tr>
  36. <td>姓名</td>
  37. <td></td>
  38. <td>性别</td>
  39. <td></td>
  40. <td>民族</td>
  41. <td></td>
  42. <td rowspan="4">照片</td>
  43. </tr>
  44. <tr>
  45. <td>籍贯</td>
  46. <td colspan="2"></td>
  47. <td>政治面貌</td>
  48. <td colspan="2"></td>
  49. </tr>
  50. <tr>
  51. <td>学校</td>
  52. <td></td>
  53. <td>学历</td>
  54. <td></td>
  55. <td>专业</td>
  56. <td></td>
  57. </tr>
  58. <tr>
  59. <td>身高</td>
  60. <td></td>
  61. <td>体重</td>
  62. <td></td>
  63. <td>联系电话</td>
  64. <td></td>
  65. </tr>
  66. <tr><th class="yan" colspan="7">求职意向</th></tr>
  67. <tr>
  68. <td>行业</td>
  69. <td colspan="6"></td>
  70. </tr>
  71. <tr>
  72. <td>目标岗位</td>
  73. <td colspan="6"></td>
  74. </tr>
  75. <tr>
  76. <td>工作性质</td>
  77. <td colspan="3"></td>
  78. <td>任职时间</td>
  79. <td colspan="2"></td>
  80. </tr>
  81. <tr>
  82. <td>月薪期望</td>
  83. <td colspan="3"></td>
  84. <td>工作地点</td>
  85. <td colspan="2"></td>
  86. </tr>
  87. <tr>
  88. <td>相关说明</td>
  89. <td colspan="6"></td>
  90. </tr>
  91. <tr><th class="yan" colspan="7">教育背景</th></tr>
  92. <tr>
  93. <td>开始时间</td>
  94. <td>结束时间</td>
  95. <td colspan="2">学校</td>
  96. <td colspan="3">相关说明</td>
  97. </tr>
  98. <tr>
  99. <td></td>
  100. <td></td>
  101. <td colspan="2"></td>
  102. <td colspan="3"></td>
  103. </tr>
  104. <tr>
  105. <td></td>
  106. <td></td>
  107. <td colspan="2"></td>
  108. <td colspan="3"></td>
  109. </tr>
  110. <tr>
  111. <td></td>
  112. <td></td>
  113. <td colspan="2"></td>
  114. <td colspan="3"></td>
  115. </tr>
  116. <tr>
  117. <td>最高学历</td>
  118. <td colspan="2"></td>
  119. <td>选修专业</td>
  120. <td colspan="3"></td>
  121. </tr>
  122. <tr>
  123. <td>所学专业</td>
  124. <td colspan="6"></td>
  125. </tr>
  126. <tr>
  127. <td>个人技能</td>
  128. <td colspan="6"></td>
  129. </tr>
  130. <tr>
  131. <td>奖项正是</td>
  132. <td colspan="6"></td>
  133. </tr>
  134. <tr>
  135. <td>语言能力</td>
  136. <td></td>
  137. <td>国语水平</td>
  138. <td></td>
  139. <td>其他语言</td>
  140. <td colspan="2"></td>
  141. </tr>
  142. <tr>
  143. <th class="yan" colspan="7">自我评价</th>
  144. </tr>
  145. <tr>
  146. <td>兴趣和特长</td>
  147. <td colspan="6"></td>
  148. </tr>
  149. <tr class="s">
  150. <td>获奖情况</td>
  151. <td colspan="6"></td>
  152. </tr>
  153. <tr class="s">
  154. <td>个人评价</td>
  155. <td colspan="6"></td>
  156. </tr>
  157. </table>
  158. </body>
  159. </html>

form简单用户注册

浏览效果

table制作简历和form简单用户注册

代码如下

  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>form编写用户注册</title>
  8. <style>
  9. .box{
  10. width: 600px;
  11. height: auto;
  12. margin: auto;
  13. background: cornsilk;
  14. }
  15. h3{
  16. text-align: center;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div class="box">
  22. <h3>用户注册</h3>
  23. <form action="" method="">
  24. <div>
  25. 账号: <input type="text" name="user_name" placeholder="不超过八个字符">
  26. </div>
  27. <div>
  28. 密码: <input type="password" name="pwd" placeholder="6-16个字符">
  29. </div>
  30. <div>
  31. 邮箱: <input type="email" name="email" placeholder="example@mail.com">
  32. </div>
  33. <div>
  34. 生日: <input type="date" name="birthday">
  35. </div>
  36. <div>
  37. 课程:
  38. <select name="kecheng">
  39. <option value="h5" selected>HTML5</option>
  40. <option value="c3">CSS3</option>
  41. <option value="js">javascript</option>
  42. <option value="php">PHP</option>
  43. <option value="java">java</option>
  44. </select>
  45. </div>
  46. <div>
  47. 爱好:
  48. <label>
  49. <input type="checkbox" value="game"> 玩游戏
  50. </label>
  51. <label>
  52. <input type="checkbox" value="video"> 旅游
  53. </label>
  54. <label>
  55. <input type="checkbox" value="code"> 打代码
  56. </label>
  57. <label>
  58. <input type="checkbox" value="code"> 看书看电影
  59. </label>
  60. </div>
  61. <div>
  62. 性别:
  63. <label>
  64. <input type="radio" name="sex" value="1">
  65. </label>
  66. <label>
  67. <input type="radio" name="sex" value="2">
  68. </label>
  69. <label>
  70. <input type="radio" name="sex" value="0" checked>保密
  71. </label>
  72. </div>
  73. <div>
  74. <div>简介:</div>
  75. <textarea rows="10" cols="40" name="desc"></textarea>
  76. </div>
  77. <input type="submit" value="提交">
  78. <input type="button" value="取消">
  79. </form>
  80. </div>
  81. </body>
  82. </html>
  83. </body>
  84. </html>