Password fields are unique type of data entry fields. This is similar to text field except that all information within the password field will be displayed
as an asterik(*). This makes the password field ideal for accepting sensitive information like password, bank account number etc. Password field can be created as :
<input type="password" name="<Name of the field>" value="<Default value of the object>">
Attributes of Password Field:
Name: Specifies the name of the object through which it can be referenced. Value: Specifies the value of the Password field.
<input type="password" name="pwd" value="pwd">
This places a password field within the HTML form, which can be referenced by using its name "pwd" and whose value is "pwd". But the password value is shown using asteriks. This field will be displayed on the screen like :