- 1

Which code is used for password in html

30th May 2017, 11:11 PM
Gaurav Saha
Gaurav Saha - avatar
3 ответов
+ 1
<form> <input type="password"></input> </form> try it yourself there: https://code.sololearn.com/WEhS3Lm7k2Dx/?ref=app
31st May 2017, 12:03 AM
BenjiSolo
BenjiSolo - avatar
+ 1
Simply use this. <form> <label>Password</label> <input type="password" id="pwd" placeholder="Please enter your password" required /> <input type="submit" value="Submit"/> </form> You can copy this code and run to see the output. The required attribute works like JavaScript such that the user cannot submit or register without filling the password. Placeholder is the text that will be displayed on the password field.
2nd Jun 2017, 9:30 PM
Ondape Valery
Ondape Valery - avatar
0
<input type ="password"> </input> its a simplest code...
31st May 2017, 12:10 AM
Abdul Basit
Abdul Basit - avatar