for attribute | htmlFor property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the object to which the given label object is assigned.
Syntax
| HTML | <element for="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the identifier of the element to which the label element is assigned.
Build date: 3/8/2012