Input Password type Property
Find out which type of form element the password field is:
The result of x will be:
Try it yourself »
Definition and Usage
The type property returns which type of form element a password field is.
For a password field, this property will always return "password".
The type property is supported in all major browsers.
|String||The type of form element the password field is|
Input Password Object
Thank You For Helping Us!
Your message has been sent to W3Schools.