<!DOCTYPE?html>
<html?lang="en">
<head>
????<meta?charset="UTF-8">
????<title>用戶名表單</title>
</head>
<body>
<div>
????<form?action="success.html"?method="get">
????????<label?for="username">用戶名</label>
????????<input?type="text"?id="username">?</br>
????????<label?for="pass"?>密碼</label>
????????<input?type="password"?id="pass"??></br>
????????<input?type="submit"?value="提交">
????????<input?type="reset"?value="重置">
????</form>
</div>
</body>
</html>
<head>
????<meta?charset="UTF-8">
????<title></title>
</head>
<body>
<h1>表單提交成功!</h1>
</body>
</html>
用戶名 輸入admin 密碼輸入123456時 點登陸提示,登陸成功,其它情況提示 登陸失敗
慕UI3240369
2017-12-11 17:14:01