Partager via


About DHTML

MSHTML implements the dynamic HTML (DHTML) object model, which is implemented by MSHTML. Applications can use this object model in one of the following ways:

  • By hosting MSHTML directly or indirectly through the WebBrowser control
  • By controls and Component Object Model (COM) objects hosted by MSHTML

The DHTML object model gives you direct, programmable access to every HTML element. You can use script to interact with user actions and change the page content dynamically. This event model lets a document react when the user has done something on the page, such as moving the mouse pointer over a particular element, pressing a key, or entering information into a form input. Each event can be linked to a script that tells the browser to modify the content on the fly, without having to go back to the server for a new file. Thus, authors will be able to create interactive Web sites with fewer pages and users do not have to wait for new pages to download from Web servers. This practice increases the speed of their browsing and the performance of the Internet as a whole. For information about using DHTML objects to create dynamic and interactive Web pages, see this Microsoft Web site.

For information on how to gain the best performance in your DHTML web pages, see the technical article A Dozen Tips for Faster DHTML in the MSDN online library at this Microsoft Web site

See Also

Internet Explorer MSHTML/DHTML API

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.