Using the Managed HTML Document Object Model

The managed HTML document object model (DOM) provides a wrapper based on the .NET Framework for the HTML classes exposed by Internet Explorer. Use these classes to manipulate HTML pages hosted in the WebBrowser control, or to build new pages from the beginning.

In This Section

How to: Access the Managed HTML Document Object Model
Describes how to obtain a valid instance of HtmlDocument from either a Windows Forms application or a UserControl hosted in Internet Explorer.

How to: Access the HTML Source in the Managed HTML Document Object Model
Describes how to obtain the original, unmodified HTML source, and how to obtain the "live" source that reflects the current state of the DOM.

How to: Change Styles on an Element in the Managed HTML Document Object Model
Describes how to manipulate styles, which are used to control the visual display of elements.

Accessing Frames in the Managed HTML Document Object Model
Describes what frames and framesets are, and how to access the DOM of a frame.

Accessing Unexposed Members on the Managed HTML Document Object Model
Describes how to access members of the underlying DOM that do not have a managed equivalent.

Reference

HtmlDocument

HtmlElement

HtmlWindow

WebBrowser Control