Password in Html

To define password field

This is used to get the password from users.
It is defined using input element and the type of text to be mentioned as password.
It is same as that of textbox but it provides security by masking the character field.


<!DOCTYPE html>

<input type="text">
<br>Password <input type="password">

Output of this code will look like this: