form

open override val form: HTMLFormElement?(source)

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.

MDN Reference