HTML:-password

<!DOCTYPE html>
<html>

<head>
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>password</title>
</head>

<body>

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

</body>

</html>


Output:-Username:  
Password : 


Definition:- 

Password


To define password field
  • This is used to get the password from users.
  • It is defined using input element and type of the text to be mentioned as password.
  • It is same as that of textbox but it provides security by masking the characters in this field.
HTML:-password HTML:-password Reviewed by Network security on April 29, 2019 Rating: 5

No comments:

Useful Information

Powered by Blogger.