A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement below:

HTMLLabelElement - Web APIs | MDN

HTMLLabelElement

Baseline Widely available

The HTMLLabelElement interface gives access to properties specific to <label> elements. It inherits methods and properties from the base HTMLElement interface.

EventTarget Node Element HTMLElement HTMLLabelElement Instance properties

Inherits properties from its parent, HTMLElement.

HTMLLabelElement.control Read only

A HTMLElement representing the control with which the label is associated.

HTMLLabelElement.form Read only

A HTMLFormElement object representing the form with which the labeled control is associated, or 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.

HTMLLabelElement.htmlFor

A string containing the ID of the labeled control. This reflects the for attribute.

Note: To programmatically set the for attribute, use htmlFor.

Instance methods

No specific methods; inherits methods from its parent, HTMLElement.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3