1. Technology

<input type="checkbox">


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:

HTML Versions

INPUT Checkbox Attributes:

INPUT Checkbox Usage:

Standard input checkbox

<input type="checkbox">
<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;

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.

More INPUT Checkbox Information:

©2014 About.com. All rights reserved.