<html>: The HTML Document / Root element
<html> HTML element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.
The start tag may be omitted if the first thing inside the
The end tag may be omitted if the
|Permitted parents||None. This is the root element of a document.|
|Implicit ARIA role||No corresponding role|
|Permitted ARIA roles||No
This element includes the global attributes.
Specifies the version of the HTML Document Type Definition that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.
<!DOCTYPE html> <html lang="en"> <head>...</head> <body>...</body> </html>
lang attribute with a valid language tag according to RFC 5646: Tags for Identifying Languages (also known as BCP 47) on the
<html> element will help screen reading technology determine the proper language to announce. The identifying language tag should describe the language used by the majority of the content of the page. Without it, screen readers will typically default to the operating system's set language, which may cause mispronunciations.
|HTML Standard (HTML)|
BCD tables only load in the browser