HTMLLabelElement:The label Element
The label element is represented by the HTMLLabelElement object. It defines the properties shown in the following table.
Name | Description | Returns |
---|---|---|
form | Returns the form associated with this element | HTMLFormElement |
htmlFor | the for attribute | string |
control | Returns the element specified by the for attribute | HTMLElement |