2.2.2.17 HTMLImageElement

The HTMLImageElement interface provides access to properties and methods supported by the img element and the input element of the image type.

The HTMLImageElement interface has been extended with the following attributes:

  • dataFld

  • dataFormatAs

  • dataSrc

  • dynsrc

  • fileCreatedDate

  • fileModifiedDate

  • fileSize

  • fileUpdatedDate

  • href

  • loop

  • lowsrc

  • mimeType

  • nameProp

  • protocol

  • start

     //Introduced in Internet Explorer.
     interface HTMLImageElement : HTMLElement {
                 attribute DOMString       dataFld;
                 attribute DOMString       dataFormatAs;
                 attribute DOMString       dataSrc;
                 attribute DOMString       dynsrc;
                 attribute DOMString       fileCreatedDate;
                 attribute DOMString       fileModifiedDate;
                 attribute DOMString       fileSize;
                 attribute DOMString       fileUpdatedDate;
                 attribute DOMString       href;
                 attribute long            loop;
                 attribute DOMString       lowsrc;
                 attribute DOMString       mimeType;
                 attribute DOMString       nameProp;
                 attribute DOMString       protocol;
                 attribute DOMString       start;
     };