HTMLLabelElement

The interface for <label>. Extends HTMLElementElement.

Reflected properties

All setters are guarded and throw NoModificationAllowedError on a read-only document.

Property Attribute Type Notes
htmlFor for string Reflects the content attribute verbatim.

See also