html

< html‎ | elements
Jump to: navigation, search

html

This page has been flagged with the following issues:


W3C Recommendation

Summary

The html element (<html>) represents the root of an HTML document. The <html> tag is the container for all other HTML elements; except for the <!DOCTYPE> tag.


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>


Internationalization topics related to the html element:


Notes

Remarks

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, the body object represents 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








… further results


Related pages (MSDN)

  • Conceptual
  • Using Custom Tags in Internet Explorer
  • Other Resources
  • CSS Enhancements in Internet Explorer 6

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]