2.2.2.21 HTMLLegendElement

Quirks Mode, IE7 Mode, IE8 Mode, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The HTMLLegendElement interface inserts a caption into the box drawn by the fieldSet element.

The HTMLLegendElement interface has been extended with the following attributes:

If provided, this element must be the first element in fieldSet.

 //Introduced in Internet Explorer.
 interface HTMLLegendElement : HTMLElement {
             attribute DOMString       dataFld;
             attribute DOMString       dataFormatAs;
             attribute DOMString       dataSrc;
 };