表单(登录注册)
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>表单(登录注册)</title> </head> <body> <!--表单form action : 表单提交的位置,能够是网站,也能够是一个请求处理地址 method : post , get 提交方式 get方式提交 : 咱们能够在url中看到咱们提交的信息,不安全,高效 post : 比较安全,传输大文件 --> <form action="第一个网页.html" method="post"> <!-- 文本输入框 :input type = "text" --> <p>名字 : <input type="text" name="username"></p> <!-- 密码框 : input type = "password" --> <p>密码 :<input type="password" name="pwd"></p> <p> <input type="submit"> <input type="reset"> </p> </form> </body> </html>