How to Make a Password Field in a Web Page
Dynamic websites often include the capability for users to log into their account or profile to contribute content to the site or to use the website features. Password fields are special HTML text fields that hide the text your user enters; characters like asterisks or bullets are displayed instead. Create a password field for your Web page using the HTML <input> tag.
Instructions
-
-
1
Open your Web page document.
-
2
Type the <input> tag and set the type to "password:"
<input name="usrpwd" type="password" />
-
-
3
Save the page and open it in a Web browser to display and test the field.
-
1
Resources
- Photo Credit Hemera Technologies/AbleStock.com/Getty Images