Password Fields

 
Password Fields
 
Text fields are used when you want the user to enter the password in the form of letters, numbers etc. in a form, but you do not want to display the text. Then you should use this field.
 
Whenever user types in the field the star or dot character appears in the text box.
 
Format:
<form>Password1: <input type=”password” name=”Password1″></form>
 
example page in browser will look like
<form> Password1 : <input type=”password” name=”Password1″>
<br>
Password2: <input type=”Password” name=”Password2″ value=”abc123″>
</form>
Password1
Password2
 
In the example the password2 field has the default value “abc123”. You can check them by typing in password fields.
Scroll to Top