<input type="password"> defines a password field.
The element Password is shows as a one-line plain text editor control in which the text is masked.
so that it cannot be read by anyone, usually by replacing each character with a symbol such as an asterisk ("*") or a dot ("•").
Example :
The element Password is shows as a one-line plain text editor control in which the text is masked.
so that it cannot be read by anyone, usually by replacing each character with a symbol such as an asterisk ("*") or a dot ("•").
Example :
In this example you can see that when we use <input type="text"> then password field data is visible.
But when we used <input type="password"> the password not visible it shows dot instead of your password.
2 Comments
Good job
ReplyDeleteThank u sir/mam
Delete