HTML 5

Draft Recommendation — 16 May 2008

3.6 The root element

3.6.1 The html element

Categories
None.
Contexts in which this element may be used:
As the root element of a document.
Wherever a subdocument fragment is allowed in a compound document.
Content model:
A head element followed by a body element.
Element-specific attributes:
manifest
DOM interface:
Uses HTMLElement.

The html element represents the root of an HTML document.

The manifest attribute gives the address of the document's application cache manifest, if there is one. If the attribute is present, the attribute's value must be a valid URI (or IRI).

The manifest attribute only has an effect during the early stages of document load. Changing the attribute dynamically thus has no effect (and thus, no DOM API is provided for this attribute). Furthermore, as it is processed before any base elements are seen, its value is not subject to being made relative to any base URI.