HyperTextMarkupLanguage

HTML Advanced Functions


| Home | Agenda | Next |

Input Fields - Continued

TYPE = "CHECKBOX"
Optional: [VALUE, CHECKED]

Creates a list of checkbox options for the user to select with a click of the mouse.

Example:

        <FORM>
        <INPUT TYPE=checkbox NAME="cat" VALUE="Y" CHECKED>Cat
        <BR>
        <INPUT TYPE=checkbox NAME="dog" VALUE="Y" CHECKED>Dog
        <BR>
        <INPUT TYPE=checkbox NAME="horse" VALUE="Y">Horse
        </FORM>
VALUE: stores what will be returned in the variable when the box is checked
CHECKED: defines a checklist item to be checked when the form is first loaded
Cat
Dog
Horse


| Home | Agenda | Next |

T10D024