第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

我的代碼哪里有問題嗎。點擊請輸入密碼不能實現(xiàn)光標(biāo)效果

<!DOCTYPE html>

<html>


<head>

? ? <meta charset="UTF-8">

? ? <title>label</title>

</head>


<body>

? ? ? ?<form>

? ? ? <label for="name" >請輸入用戶名:</label>?

? ? ? <input type="text" id="name" placeholder="請輸入用戶名" >

? ? ? <br />

? ? ? <label for =“possword”>請輸入密碼:</label>

? ? ? ? <input type=“possword” id=“password” placeholder="請輸入密碼">

? ? </form>

</body>


</html>


正在回答

5 回答

你的<input type=“possword” id=“password” placeholder="請輸入密碼">這一行id和上面的for不一樣,type也應(yīng)該是password,還有第一個for和id最好不要用name,因為name有他本來的用處。

0 回復(fù) 有任何疑惑可以回復(fù)我~

<label for =“possword”>請輸入密碼:</label>

? ? ? ? <input type=“possword” id=“password” placeholder="請輸入密碼">

?你的for對應(yīng)possword,下面id=password 單詞寫錯了

1 回復(fù) 有任何疑惑可以回復(fù)我~

建議找一個開發(fā)工具,vscode, virtual studio等等 都可以

0 回復(fù) 有任何疑惑可以回復(fù)我~
???<form>??????<label?for="name"?>請輸入用戶名:</label>???????<input?type="text"?id="name"?placeholder="請輸入用戶名"?>??????<br?/>??????<label?for?=“password”>請輸入密碼:</label>????????<input?type=“password”?id=“password”?placeholder="請輸入密碼">????</form>


0 回復(fù) 有任何疑惑可以回復(fù)我~

發(fā)現(xiàn)了?密碼的id錯了。打擾了?

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

我的代碼哪里有問題嗎。點擊請輸入密碼不能實現(xiàn)光標(biāo)效果

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號