html
html
This page has been flagged with the following issues:
High-level issues:
W3C Recommendation
Summary
The html element (<html>) represents the root of an HTML document.
Overview Table
| DOM Interface | HTMLHtmlElement |
|---|
The html element is used to contain a complete HTML document.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>An Example Web Page</title> </head> <body> <h1>Hello World!</h1> <p> This is an example web page marked up using HTML. </p> </body> </html>
Notes
Remarks
With Microsoft Internet Explorer 6 and later, when you use the !DOCTYPE declaration to specify standards-compliant mode, this element represents the canvas—the entire surface onto which a document's contents can be rendered. When you switch on standards-compliant mode, this element also becomes the positioning container for positioned elements that don't have a positioned parent. When the !DOCTYPE declaration does not specify standards-compliant mode, and with earlier versions of Windows Internet Explorer, the body object represents the entire surface onto which a document's contents can be rendered. In Internet Explorer 6, When you use the !DOCTYPE declaration to specify standards-compliant mode, this element represents the canvas, the entire surface onto which a document's contents can be rendered.
Members
The html object has these types of members:
- [#events Events]
- [#methods Methods]
- [#properties Properties]
Events
The html object has these events. {
Related specifications
| Specification | Status | Related Changes |
|---|---|---|
| HTML 4.01 Specification | W3C Recommendation | |
| HTML5 | W3C Working Draft | Adds a manifest attribute |
See also
Related articles
HTML
- html
Related pages (MSDN)
ConceptualUsing Custom Tags in Internet ExplorerOther ResourcesCSS Enhancements in Internet Explorer 6
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here