HTML html Tag

Example

A simple HTML5 document:
<!DOCTYPE HTML>
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>

</html>

Teach Yourself  by BH24 HTML Editor Tool!

The <html> tag is supported in all major browsers.

Definition and Usage

The <html> tag tells the browser that this is an HTML document.
The <html> tag represents the root of an HTML document.
The <html> tag is the container for all other HTML elements (except for the <!DOCTYPE> tag).