for attribute | htmlFor property
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.
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012