web api instance property
HTMLButtonElement: form property
The form read-only property of the HTMLButtonElement interface returns an HTMLFormElement object that owns this <button>, or null if this button is not owned by any form.
Value
An HTMLFormElement or null.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
HTMLButtonElementHTMLFormElement<button>- HTML
formattribute - HTML forms guide