Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

for attribute | htmlFor property

Sets or retrieves the object to which the given label object is assigned.

Syntax

HTML<element for="p" ... >
JavaScript

p = object.htmlFor

Property values

Type: String

the identifier of the element to which the label element is assigned.

See also

label

 

 

Show:
© 2014 Microsoft