Html-html-tag
提供:Dev Guides
HTML-<html>タグ
説明
HTML <html>タグは、開始<html>タグの前にある!doctypeタグを除く他のすべてのHTML要素を含むコンテナです。 他のすべてのHTML要素は、<html>タグと</html>タグの間にネストされます。
例
<!DOCTYPE html>
<html>
<head>
<title>HTML html Tag</title>
</head>
<body>
<p>Actual content goes here... </p>
</body>
</html>
これは、次の結果を生成します-
グローバル属性
このタグは、リンク:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします
特定の属性
HTML <>タグは、次の追加属性もサポートしています-
Attribute | Value | Description |
---|---|---|
manifesthtml-5 | URL | It is for offline browsing i.e. the address of the document’s cache manifest. |
xmlns | http://www.w3.org/1999/xhtml | Deprecated − Specifies the XML namespace attribute. |
イベント属性
このタグは、link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートしています。
ブラウザのサポート
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |