IHTMLDocumentIHTMLDocument*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLDListElement::get_compact
*Next Topic: IHTMLDocument::get_Script

IHTMLDocument


A document object represents the HTML document in a given browser window. You use the document object to retrieve information about the document, to examine and modify the HTML elements and text within the document, and to process events.

Typically, every window object has a corresponding document object that you can retrieve by calling the QueryInterface function with the IID_IHTMLDocument or IID_IHTMLDocument2 interface identifier. Windows that contain HTML documents always have valid document objects, but windows that contain documents in other formats may not. In general, before attempting to retrieve the document object for a window that is not the current window, make sure that the source file associated with that window is an HTML document file or a file that can be represented as an HTML document (for example, a text file).

IHTMLDocument Methods
get_Script


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.