HTMLLegendElement: form property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("HTML DOM")}}

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

Value

An {{domxref("HTMLFormElement")}} or null.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("HTMLLegendElement")}}
  • {{domxref("HTMLFieldSetElement.form")}}
  • {{domxref("HTMLFormElement")}}
  • {{HTMLElement("legend")}}
  • HTML forms guide