The HTMLLegendElement is an interface allowing to access properties of the elements. It inherits properties and methods from the HTMLElement interface. View Source js/lib.dom.d.ts, line 2941 Members Type: string # align Deprecated:Yes View Source js/lib.dom.d.ts, line 2944 Type: HTMLFormElement | null # form Retrieves a reference to the form that the object is embedded in. View Source js/lib.dom.d.ts, line 2948