HTML tag
Example
A simple HTML5 document:
Document content......
Try it »
Browser support

All major browsers support the tag.
Tag Definition and Usage Notes
The tag tells the browser that this is an HTML document. The tag is the outermost element in an HTML document. The tag is a container for all other HTML elements (except the [](tag-doctype.html) tag).Differences between HTML 4.01 and HTML5
In HTML5, a new attribute was added: manifest.
Differences between HTML and XHTML
The xmlns attribute is required in XHTML, but not in HTML.
However, even if the in an XHTML document does not use the xmlns attribute, the W3C HTML validator will not report an error. This is because "xmlns=http://www.w3.org/1999/xhtml" is a fixed value that will be added to the tag even if you do not include it.
property
New : New attributes in HTML5.
| property | Value | Description |
|---|---|---|
| manifestNew | URL | Defines a URL at which the document's cache information is described. |
| xmlns | http://www.w3.org/1999/xhtml | Not supported in HTML. Only supported in XHTML. Specifies the XML namespace attribute (use this attribute if you need your content to conform to XHTML). |