+ 5
How to make textbox with value "password" and the value disappear when I start to write text in html web? Please write the code
4 Answers
+ 8
use placeholder property in input:
<input type="password" placeholder="Password">
+ 3
thanks for your answer
+ 2
thanks for your answer
0
<input type="password" placeholder="Password"> since you're working with PHP and MySQL, you can add name attribute: <input type="password" name="mypass" placeholder="Password">