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.
Example:
<!DOCTYPE html>
<html>
<head>
<title>Password</title>
</head>
<body>
Username
<input type="text">
<br>Password
<input type="password">
</body>
</html>
Output of this code will look like this: