4.demo2.html 920 B

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>案例2</title>
  6. </head>
  7. <body>
  8. <div>
  9. <h3>欢迎注册网易免费邮箱</h3>
  10. <form action="">
  11. <p>手机号码@163.com,方便好记</p>
  12. <!--
  13. label是input标签的元素标记
  14. -->
  15. <label for="">手机号</label>
  16. <input type="text" placeholder="请输入您的手机号码">
  17. <br><br>
  18. <label for="">密码</label>
  19. <input type="password" placeholder="请输入密码">
  20. <br><br>
  21. <input type="checkbox">同意《服务条款》、《隐私政策》和《儿童隐私政策》
  22. <br><br>
  23. <input type="button" value="立即注册">
  24. </form>
  25. </div>
  26. </body>
  27. </html>