表單標(biāo)簽的使用
表單(form) 可以把瀏覽者輸入的數(shù)據(jù)傳送到服務(wù)器端,服務(wù)器端程序可以處理表單傳過(guò)來(lái)的數(shù)據(jù)。
????<form method="傳送方式" action="服務(wù)器文件">
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>表單標(biāo)簽</title>
</head>
<body>
<form method="post" action="save.php">
????? <label for="username">用戶名:</label>
????? <input type="text"? name="username" id="username" value="" />
????? <label for="pass">密碼:</label>
????? <input type="password"? name="pass" id="pass" value="" />???
????? <input type="submit" value="確定"? name="submit" />
????? <input type="reset" value="重置" name="reset" />
</form>?
</body>
</html>
2018-11-18
mei wentiaa?
2018-10-15
問(wèn)題在哪??