課程
/前端開發
/HTML/CSS
/初識HTML(5)+CSS(3)-升級版
如何讓密碼輸入文本框顯示出中文提示而不是顯示黑點,例如顯示”請輸入密碼!“
2016-06-03
源自:初識HTML(5)+CSS(3)-升級版 6-2
正在回答
<input type="password" placeholder="請輸入密碼">
搬運工,不用采納,看看就行!
<input type="password" value="請輸入密碼"> ? ? ? ? ? ? ? ?結果:*****
<input type="password" placeholder="請輸入密碼"> ? ? ?結果:請輸入密碼
寧缺毋濫17 提問者
這你都曉得
<input?type="password"??name="pass"??value="請輸入密碼"/>
<input type="password" value="請輸入密碼">
<input?type="password"??name="pass"??value="請輸入密碼"/> 就是將value值設成??請輸入密碼
舉報
HTML(5)+CSS(3)基礎教程8小時帶領大家步步深入學習標簽用法和意義
4 回答關于密碼輸入框的提示文字
6 回答文本輸入框、密碼輸入框
3 回答文本輸入框,密碼輸入框
5 回答文本輸入框、密碼輸入框
2 回答輸入框中提示文字如何添加?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-06-03
<input type="password" placeholder="請輸入密碼">
2016-06-03
搬運工,不用采納,看看就行!
<input type="password" value="請輸入密碼"> ? ? ? ? ? ? ? ?結果:*****
<input type="password" placeholder="請輸入密碼"> ? ? ?結果:請輸入密碼
2016-06-03
<input?type="password"??name="pass"??value="請輸入密碼"/>
2016-06-03
<input type="password" value="請輸入密碼">
2016-06-03
2016-06-03
<input type="password" value="請輸入密碼">