2.2.2.8 HTMLDocument

The HTMLDocument interface retrieves information about the document, and examines and modifies the HTML elements and text in the document.

The HTMLDocument interface has been extended with the following attributes:

  • alinkColor

  • bgColor

  • dir

  • fgColor

  • linkColor

  • parentDocument

  • uniqueID

  • vlinkColor

  • all

  • frames

     //Introduced in Internet Explorer.
     interface HTMLDocument : Document {
                 attribute DOMString       alinkColor;
                 attribute DOMString       bgColor;
                 attribute DOMString       dir;
                 attribute DOMString       fgColor;
                 attribute DOMString       linkColor;
                 attribute DOMString       parentDocument;
                 attribute DOMString       uniqueID
                 attribute DOMString       vlinkColor;
                 attribute HTMLCollection       all;
                 attribute HTMLCollection       frames;
     };
    
Show: