Blogger Information
Blog 19
fans 0
comment 1
visits 7433
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
1018作业
移动用户-4050479
Original
347 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. <style>
  9. div{
  10. margin-top: 10px;
  11. border-top: 1px solid gray;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <form action="" method="post" enctype="multipart/form-data">
  17. <fieldset>
  18. <legend>注册登录</legend>
  19. <div>
  20. <input disabled type="text" value="星标必填"><br/>
  21. <label for="uname">用户名称:<span style="color:red ;">*</span></label>
  22. <input id="uname" type="text" name="username" value="" placeholder="请输入账号" required/>
  23. </div>
  24. <div>
  25. <label for="pass">用户密码:<span style="color:red ;">*</span></label>
  26. <input id="pass" type="password" name="username" value="" placeholder="请输入密码"/>
  27. </div>
  28. <div>
  29. <label for="email">邮箱:</label>
  30. <input id="email" type="email" name="email" value="" placeholder="xxx.@gmail.com">
  31. </div>
  32. <div>
  33. <!--
  34. 1 min 最小值
  35. 2 max 最大值
  36. 3 step 递增递减的量
  37. -->
  38. <label for="age">年龄:</label>
  39. <input type="number" name="" id="age" min="18" max="100" >
  40. </div>
  41. <div>
  42. <label for="sr">生日:</label>
  43. <input type="date" name="sr" id="sr" min="1998-01-01" max="2000-01-01" >
  44. </div>
  45. <div>
  46. <label for="bo">博客:</label>
  47. <input type="url" name="" id="bo" placeholder="http://">
  48. </div>
  49. <div>
  50. <label for="color">拾色器:</label>
  51. <input type="color" name="color" id="color" value="#ffffff">
  52. <output>#000000</output>
  53. </div>
  54. <div>
  55. <label for="search">搜索:</label>
  56. <input type="search" name="search" id="search" placeholder="搜索用户">
  57. </div>
  58. <div>
  59. <!--
  60. 文件上传必须将
  61. <form action="" method="post" enctype="multipart/form-data">
  62. 里enctype 的属性改为 multipart/form-data 且必须是POST 传输
  63. -->
  64. <label for="file">头像:</label>
  65. <input type="file" name="file" id="file">
  66. </div>
  67. <div>
  68. <input type="hidden" name="uid" id="uid">
  69. </div>
  70. <!--type="range" 滑动块-->
  71. <div>
  72. <label for="range">满意度:</label>
  73. <input type="range" name="range" id="range" min="0" max="100" value="0">
  74. <output>0%</output>
  75. </div>
  76. <div>
  77. <!--进度条 min 最小值不需要-->
  78. <label for="" >完成进度</label>
  79. <progress name="pro" max="100" value="0"></progress>
  80. <output>0%</output>
  81. </div>
  82. <button>注册</button>
  83. </fieldset>
  84. </form>
  85. </body>
  86. </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