By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

The HTML Tag

The root element in HTML is called, well HTML. This reference includes some Background information, and Example of use.

Edited: 2014-12-28 05:48

The HTML element is used to tell browsers that its a HTML page, but the HTML element may also be styled with CSS.


Attribute: Value: Description:
Attributes Global Attributes Global, Event, I18n
manifest URI URI for cache file I.e. manifest.cache

The manifest attribute

This attribute is used for cache control, and links to a file containing manifests. For more information see: The manifest file


Note. Only one html tag is allowed

The html tag is the root element in a ducument, and parent of head and body. Further more, the html element may have its own styling applied.

<!DOCTYPE html>
<html lang="en-US">

    <title>My first Website</title>
    <style type="text/css">

    html, body {
     height: 100%;

    <h1>Welcome to my website</h1>
    <p>My first Website.</p>


Brugbart Vision!

In the above example, both html and body has a height of 100% applied, this is to ensure divisions with a min-height of 100% will fill out the canvas vertically. A document's primary language may be set using the LANG attribute on the HTML element.