Skip to content
Related Articles

Related Articles

HTML | <input type=”password”>
  • Last Updated : 29 May, 2019

The HTML <input type=”password”> is used to specify the password field of input tag. Password should be served over the HTTPS pages because it include the sensitive information of the user.


<input type="password">


<!DOCTYPE html> 
        HTML input type password
<body style="text-align:center;"
    <h1 style="color:green;"
    <h2>HTML <Input Type = "Password"></h2
    <input type="password" id="mypasswd"


Supported Browsers: The browsers supported by <input type=”password”> are listed below:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Safari
  • Opera


My Personal Notes arrow_drop_up
Recommended Articles
Page :