HTML/Elements/html

From Web Education Community Group
< HTML‎ | Elements
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>

Html01.png

HTML Reference

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