files/en-us/web/api/htmllabelelement/index.md
{{ APIRef("HTML DOM") }}
The HTMLLabelElement interface gives access to properties specific to {{HTMLElement("label")}} elements. It inherits methods and properties from the base {{domxref("HTMLElement")}} interface.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
null if there is no associated control, or if that control isn't associated with a form. In other words, this is just a shortcut for HTMLLabelElement.control.form.for attribute.[!NOTE] To programmatically set the
forattribute, usehtmlFor.
No specific methods; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}