<INPUT ...>TYPETYPE = TEXT
TEXT creates a text entry field (the most popular type of data entry field):
| this code | produces this |
<FORM ACTION="../cgi-bin/html/mycgi.pl"> name: <INPUT TYPE=TEXT NAME="realname"> <P><INPUT TYPE=SUBMIT VALUE="submit"> </FORM> |
TEXT is the default input type (if you want a text field, you don't even need to use
the TYPE
| this code | produces this |
<FORM ACTION="../cgi-bin/html/mycgi.pl"> <!-- note absence of TYPE attribute --> name: <INPUT NAME="realname"> <P><INPUT TYPE=SUBMIT VALUE="submit"> </FORM> |
The behavior of TEXT fields can be modified
using these attributes:
VALUESIZEMAXLENGTH
TYPE=CHECKBOX >>>