Version | -//W3C//DTD HTML 4.01//EN | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Element | HTML | ||||||||||||
Purpose | document root element | ||||||||||||
Description | 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" HTML document. </P> </BODY> </HTML> | ||||||||||||
Start tag | Optional <HTML> | ||||||||||||
Attributes |
| ||||||||||||
Content | ( HEAD , BODY ) | ||||||||||||
End tag | Optional </HTML> | ||||||||||||
Referenced in |