EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

 

 

Afficher:
© 2014 Microsoft