July 1998
Intermediate to advanced
1456 pages
65h 5m
English
FOR — NN n/a IE 4 HTML 4
FOR=”inputElementIdentifier"Optional
A unique identifier that is also assigned to the
ID attribute of the INPUT
element to which the label is to be associated. The
FOR attribute is necessary only when you elect not
to wrap the INPUT element inside the
LABEL element, in which case the
FOR attribute performs the binding between the two
elements.
<LABEL FOR="stateEntry">State:</LABEL>
Case-sensitive identifier.
None.
[window.]document.all.elementID.htmlFor
Read now
Unlock full access