這樣代碼更加簡(jiǎn)單
<!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
關(guān)聯(lián)后你點(diǎn)前面的中文字,也會(huì)跳轉(zhuǎn)到文本輸入框中,不關(guān)聯(lián)你只有點(diǎn)文本框內(nèi)才有反應(yīng),點(diǎn)文字沒(méi)用
2020-08-15
但是這樣就導(dǎo)致你的標(biāo)簽與input控件不關(guān)聯(lián)了。