這樣代碼更加簡單
<!DOCTYPE html>
<html>
<head>
? ? <meta charset="UTF-8">
? ? <title>label</title>
</head>
<body>
? ? ? ? <form method="post" action="save.php">
? ? ? ? ? ? 輸入你的用戶名
? ? ? ? ? ? <input type="text" name="MYname" placeholder="Enter uname"/>
? ? ? ? ? ? <br/>
? ? ? ? 輸入你的密碼
? ? ? ? ? ?<input type="password" name="pass" placeholder="Enter password"/>
? ? ? ?
? ? </form>
</body>
</html>
2021-09-28
關聯(lián)后你點前面的中文字,也會跳轉到文本輸入框中,不關聯(lián)你只有點文本框內(nèi)才有反應,點文字沒用
2020-08-15
但是這樣就導致你的標簽與input控件不關聯(lián)了。