November 1998
Intermediate to advanced
578 pages
28h 15m
English
<input type=checkbox> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
<input type=checkbox>
Creates a checkbox input element within a
<form>. Checkboxes are like on/off switches
that can be toggled by the user. When a form is submitted, only the
“on” checkboxes submit values to the server.
checked
When this attribute is added, the checkbox will be checked by default.
name=
text
Assigns a name to the checkbox to be passed to the form-processing application if selected. Giving several checkboxes the same name creates a group of checkbox elements, allowing users to select several options with the same property.
value=
text
Specifies the initial value of the control that is passed on to the server. If not defined, a value of “on” is sent.
Read now
Unlock full access