HTML Tag <HTML>

This tag is a basic HTML tag.

It instructs the web browser to look for HTML coded pages and respond accordingly.

This should be the first tag in your HTML document, and the corresponding closing tag, , should be the last.

Usage

Notifies the browser that this is an HTML document.

Code:

<html>

<body>

Content of the page goes here.

</body>

</html>

Required Attributes

  • xmlns
    This was required to define the namespace, however is no longer necessary in HTML5 – value equal to “http://www.w3.org/1999/xhtml”

    There are special circumstances when it should be included, which we won’t get into at this time.

Optional Attributes

  • None

Core Attributes