INPUT Checkbox Description:
The checkbox INPUT tag gives you a way to add checkboxes to .
DTD: HTML5: <!doctype html>
HTML4 Strict: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML4 Transitional or Loose: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
INPUT Checkbox Web Browser Support:
- AvantGo Palm OS
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10
- Safari 1, 2, 3, 4, 5
HTML Versions
INPUT Checkbox Attributes:
Global attributes, event attributes and the input tag attributes Plus:
- checked
- required
INPUT Checkbox Usage:
Standard input checkbox
<form>
<input type="checkbox">
</form>
<form>
<input type="checkbox"& name="pet" value="dog"gt;
<input type="checkbox"& name="pet" value="cat"gt;
<input type="checkbox"& name="pet" value="rabbit"gt;
<input type="checkbox"& name="pet" value="horse"gt;
<input type="checkbox"& name="pet" value="other"gt;
</form>
See an example of a checkbox input tag.
INPUT Checkbox Special Notes:
Give several checkboxes the same name (as in example 2) to send a group of values to the server. Use multiple checkboxes to allow multiple choice questions where more than one answer is allowed.
If the value is omitted, a value of “on” is, sent to the server for checked boxes.

