HTML and CSS Reference
In-Depth Information
Name
html
Synopsis
<html> . . . </html>
This is the root element of HTML (and XHTML) documents, meaning all other elements are
contained within it. The html element has no ancestors. The opening <html> tag is placed at
beginning of the document, just after the document type declaration. The closing tag goes at
the end of the document. If the tags are omitted, html is still implied as the root element.
Notes
It is recommended that the language of the document be provided with the lang attribute.
Usage
Categories:
None
Permitted contexts:
As the root of the document
Permitted content:
A head element followed by a body element
Start/end tags:
Optional/Optional; XHTML: Required/Required
Attributes
HTML5 Global Attributes
manifest=" URL
URL "
Not in HTML 4.01 . Points to a cache used with the offline web application API.
Search WWH ::




Custom Search