Password: Used to allow entry of passwords.
<INPUT
TYPE= "
PASSWORD "
>
Password boxes use the following
attributes:
§TYPE:
password.
§SIZE:
determines the size of the textbox in characters.
§MAXLENGHT:
determines the maximum size of the password in characters.
§NAME:
is the name of the variable to be sent to the CGI application.
§VALUE:
is usually blank.
Example on Password Box
<HTML><HEAD>
<TITLE>Form_Password_Type</TITLE></HEAD>
<BODY>
<h1> <font color=red>To
Access, Please
enter:</font></h1>
<FORM name="form2" Action="url" method="get">
User Name: <INPUT
TYPE="TEXT" Name="FName"
SIZE="15"
MAXLENGTH="25"><BR>
Password: <INPUT
TYPE="PASSWORD"
NAME="PWord" value="" SIZE="15”
MAXLENGTH="25"><BR>
</FORM></BODY>
</HTML>
Output
Comments
Post a Comment