Password boxes are just like text boxes, but any characters the user inputs are represented as asterisks. They are used for the entry of confidential information such as credit card numbers, wages or passwords.
ATTRIBUTE |
REQUIRED? |
DESCRIPTION |
NAME=" " |
Required |
The name of the password box. |
SIZE=" " |
Optional |
Specifies the size of form element in characters. |
MAXLENGTH=" " |
Optional |
Specifies the maximum amount of characters a visitor can enter into the password box. |
VALUE=" " |
Optional |
Specify a default password (for example, Visitor). |
Please enter your password below:<br>
<INPUT TYPE="password" NAME="password_box" SIZE=8 MAXLENGTH="8">
NOTE |
For this example to work it must be inside form tags (<FORM &ldots;> &ldots; </FORM>). The entire form code, including all the examples, is ready for you to use. |
Form Elements