This is the outermost element of an html document. The html element thus contains all other elements inside the head
and body elements.
You should have just one html container in a document.
For example:
<html>
<head>
<title>
Hello World Demonstration Document
</title>
</head>
<body>
<h1>
Hello, World!
</h1>
<p>
This is a minimal "hello world" document.
</p>
</body>
</html>
Start tag
Required <html>
Attributes
Name
Type
Default
Comment
dir
( ltr | rtl )
#IMPLIED
direction for weak/neutral text
id
ID
#IMPLIED
document-wide unique id
lang
NMTOKEN
#IMPLIED
language code (backwards compatible); language code as RFC3066
xml:lang
NMTOKEN
#IMPLIED
language code (as per XML 1.0 spec); language code as RFC3066