MDN self-hosted library · e01.org

HTMLOptionElement: form property

HTML DOM

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

HTML DOM

The form read-only property of the HTMLOptionElement interface returns an HTMLFormElement object that owns the HTMLSelectElement associated with this option, or null if this option is not associated with a select owned by a form.

Value

An HTMLFormElement or null.

Specifications

Browser compatibility

See also

  • HTMLOptionElement
  • HTMLSelectElement.form
  • HTMLFormElement
  • option
  • HTML forms guide