HTML/jp/Elements/html

From W3C Wiki

<html>

<html>要素は、HTMLやXHTMLドキュメントのルートを表します。これに後続する全ての要素は<html>要素の子要素となります。


コンテンツ属性

  • 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 グローバル属性.


例題

例題 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>

HTML仕様書

<html>要素は、HTML5仕様書の4.1.1 The html elementに定義されています。