legend
elementfieldset
element.interface HTMLLegendElement : HTMLElement { readonly attribute HTMLFormElement? form; };
The legend
element represents
a caption for the rest of the contents of the legend
element's parent fieldset
element.
form
Returns the element's form
element, if any, or null
otherwise.