Share via


DOCUMENT

       

Represents the current page in the HTML editor.

Remarks

The DOCUMENT element provides a framework that allows you to set properties that control the appearance and behavior of the page. The DOCUMENT is not a control or object — it is an abstraction of attributes on the page, which are stored in HTML tags or in ASP server directives.

You can set the properties of the DOCUMENT at design time using the Properties window, and the and tabs of the page's Property Pages window.

At run time, the DOCUMENT element does not have a corresponding script object. However, some of the DOCUMENT element's properties, such as , correspond to properties of the document object in the Internet Explorer 4.0 DHTML object model. You can manipulate these corresponding properties in client script if the page is displayed in Internet Explorer.