表單(登錄註冊)
<!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>