HTML tag

The tag represents root of an HTML document hence also called as root element. It is a container of all elements (except ) such as , and each element which appears in an HTML document. It tells the browser that the document is an HTML document.

Before the tag we can only use declaration which gives information about the HTML version to the browser.


Following are some specifications about the HTML tag

Display None
Start tag/End tag Both Start and End tag
Usage Structural

Example 1

Test it Now


HTML html tag


Attribute Value Description
xmlns It specifies the XML namespace for the document(Not required)
manifest URL It specifies the URL of the resource manifest indicates resource which should be cached locally.

Global attribute

The tag supports the global attributes in HTML

Event attribute

The tag supports the event attributes in HTML.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML I Tag

Hot Tutorials

Contact US

HTML html Tag