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

The HTMLLabelElement interface specifies a label for a control-like element.

The HTMLLabelElement interface has been extended with the following attributes:

  • dataFld

  • dataFormatAs

  • dataSrc

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