Language References
Sets or retrieves the object to which the given LABEL object is assigned.
Inline |
<LABEL FOR = sID...> |
Script |
label.htmlFor = sID ] |
sID |
String containing the identifier of the element to which the label element is assigned. |
The property is read/write with no default value.
This attribute explicitly associates the LABEL being defined with another control. When present, the value of this attribute must be the same as the value of the id attribute of some other control in the same document. When absent, the LABEL being defined is associated with the element’s contents.
LABEL