博客列表 >表单-会员注册

表单-会员注册

α清尘
α清尘原创
2020年10月09日 14:53:30677浏览

会员注册

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>会员注册</title>
  7. <link rel="stylesheet" href="static/css/style1.css">
  8. </head>
  9. <body>
  10. <h3 class="title">会员注册</h3>
  11. <form action="check.php" method="POST" enctype="multipart/form-data" class="register">
  12. <label for="username">账号</label>
  13. <input type="text" name="username" id="username" value="" placeholder="至少输入六位" autofocus required>
  14. <label for="email">邮箱</label>
  15. <input type="email" name="email" id="email" placeholder="demo@email.com" value="">
  16. <label for="pwd">密码</label>
  17. <input type="password" name="pwd" id="pwd" placeholder="至少输入六位" required>
  18. <label for="pwd2">确认</label>
  19. <input type="password" name="pwd2" id="pwd2" placeholder="******" required>
  20. <label for="xb">性别</label>
  21. <div>
  22. <input type="radio" name="nan" id="nan" value="nan"><label for="nan"></label>
  23. <input type="radio" name="nv" id="nv" value="nv" checked><label for="nv"></label>
  24. <input type="radio" name="m" id="m" value="m"><label for="nan">保密</label>
  25. </div>
  26. <label for="hobby">爱好</label>
  27. <div>
  28. <input type="checkbox" name="hobby[]" id="game" value=""><label for="game">游戏</label>
  29. <input type="checkbox" name="hobby[]" id="boat" value=""><label for="boat">划船</label>
  30. <input type="checkbox" name="hobby[]" id="program" value="" checked><label for="program">编程</label>
  31. </div>
  32. <label for="xueli">学历</label>
  33. <select for="edu">
  34. <option value="1">初中</option>
  35. <option value="2">高中</option>
  36. <option value="3">大专</option>
  37. <option value="4" selected>本科</option>
  38. </select>
  39. <label for="userpic">头像</label>
  40. <input type="hidden" name="MAX_FILE_SIZE" value="80008">
  41. <input type="file" value="" name="userpic" id="userpic">
  42. <label for="jl">简历</label>
  43. <input type="hidden" name="MAX_FILE_SIZE" value="10000">
  44. <input type="file" name="jl" id="jl">
  45. <label for="contont">备注</label>
  46. <textarea name="contont" id="contont" placeholder="不超过120个字" cols="30" rows="6"></textarea>
  47. <button>提交</button>
  48. <button type="reset">重置</button>
  49. </form>
  50. </body>
  51. </html>

效果图

声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议