MDN self-hosted library · e01.org

HTMLLegendElement: form property

HTML DOM

no runnable cells web-api-instance-property upstream source

HTML DOM

The form read-only property of the HTMLLegendElement interface returns an HTMLFormElement object that owns the HTMLFieldSetElement associated with this legend, or null if this legend is not associated with a fieldset owned by a form.

Value

An HTMLFormElement or null.

Specifications

Browser compatibility

See also

  • HTMLLegendElement
  • HTMLFieldSetElement.form
  • HTMLFormElement
  • legend
  • HTML forms guide