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.


Notifies the browser that this is an HTML document.




Content of the page goes here.



Required Attributes

  • xmlns
    This was required to define the namespace, however is no longer necessary in HTML5 – value equal to “”

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

Optional Attributes

  • None

Core Attributes