Name

<input>

Synopsis

<input type=checkbox>

Description

Create a checkbox input element within a <form>.

Attributes

accesskey=char

Define the hot-key character for this element.

checked

Mark the element as initially selected.

disabled

Disable this control, making it inactive.

name=string

Specify the name of the parameter to be passed to the form-processing application if the input element is selected (required).

notab

Attributes

Specify that this element is not part of the tabbing order.

readonly

Prevent user modification of this element.

tabindex=n

Specify this element’s position in the tabbing order.

taborder=n

Attributes

Specify this element’s position in the tabbing order.

value=string

Specify the value of the parameter sent to the form-processing application if this form element is selected (required).

See Chapter 6 for more information on using forms.

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.