HTMLLabelElement: form property

The form read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the control associated with this <label>, or null if this label is not associated with a control owned by a form.

This property is just a shortcut for label.control.form.

Value

An HTMLFormElement or null.

Specifications

Browser compatibility

See also