4.3.1 The Root Element
It is considered good practice to specify the primary language of the document on this element using the
In the HTML syntax only, both the start and end tags are optional, and so for convenience either may be omitted, unless you wish to specify attributes on this element, in which case, at least the start tag needs to be included.
In the XHTML syntax, the
xmlns attribute needs to be specified on this element to declare that it is in the HTML namespace. You may use either the
xml:lang attribute to specify the langauge.
- 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 URL.