February 2006
Intermediate to advanced
826 pages
63h 42m
English
label
<label>...</label>
Used to attach information to controls. Each label element is associated with exactly one
form control. The label element may contain the
form control, or it may use the for attribute to
identify the control by its id value.
Core(id,
class, style, title),
Internationalization,
Events, onfocus, onblur
accesskey="
character
"
Assigns an access key (keyboard shortcut) to an element for quicker access.
for="
text
"
Explicitly associates the label with the control by
matching the value of the for
attribute with the value of the id attribute within the control
element.
<label>No thanks <input type="checkbox" name="list" value="no" /></label><label for="lastname">Last Name:</label><input type="text"id="lastname"size="32" />