Warning:
This wiki has been archived and is now read-only.

Elements/html

From HTML Wiki
Jump to: navigation, search

<html>

The <html> element represents the root of HTML and XHTML documents. Any subsequent elements are the children of this root element.


HTML Attributes

  • manifest = URL potentially surrounded by spaces
    The address of the document’s application cache manifest (which controls caching of content for offline use).

See also global attributes.


Examples

Example A

[try it]

<!DOCTYPE html>
<html lang=en>
   <head>
      <meta charset=utf-8>
      <title>The HTML Document</title>
   </head>
   <body>
      <p>The HTML content</p>
   </body>
</html>

DOM

HTMLHtmlElement

HTML Reference

The HTML5 specification defines the <html> element in 4.1.1 The html element.