From http://www.w3schools.com (Copyright Refsnes Data)
This element tells a browser that this is an HTML document.
HTML 4.01 had an xmlns attribute, which was required in XHTML. This really had no effect in HTML 4.01, but was useful while converting from HTML to XHTML, for validational reasons. In HTML 5 there is no reason to do this, but you can define the xmlns attribute with the value "http://www.w3.org/1999/xhtml".
HTML 5 has a new attribute: manifest
Note: If you, for some reason, wish to define the xmlns attribute, the ONLY legal value is "http://www.w3.org/1999/xhtml"
<html>
<head> <body> </html> |
Attribute | Value | Description | 4 | 5 |
---|---|---|---|---|
manifest | url | Defining cache information for offline use | 4 | 5 |
xmlns | http://www.w3.org/1999/xhtml | Defines the XML namespace attribute. Do not use this attribute in HTML 5 | 4 | 5 |
class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard Attributes in HTML 5.
A very simple HTML
document
A very simple HTML document, with only a minimum of HTML tags. It demonstrates
how the text inside a body element is displayed in the browser.
From http://www.w3schools.com (Copyright Refsnes Data)