This element identifies the document as containing HTML elements. It should immediately follow the prologue document identifier and serves to surround all of the remaining text, including all other elements. HTML user agents use the presence of this element at the start of a HTML document to ensure that the document is actually HTML, according to the "text/html" MIME type.
<HTML
LANG=language
TITLE=text content
>
Parameter |
Description |
LANG |
Specifies which language to use in ISO standard language abbreviation form. |
TITLE |
The TITLE attribute is for advisory information (unless used with a mailto: attribute). The Title attribute should provide the title of the document whose address is given by the HREF attribute. The contents of the title attribute will be displayed in a tooltip during the mouse moves on the link. Internet Explorer 4.0 (and above) is the only browser to implement this. |
<HTML>
<HEAD>
<TITLE>HTML Reference</TITLE>
<BODY>
<P>Hello world
</BODY>
</HTML>
This element is a block element.