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. The document should be constructed thus :
<TITLE> title text </TITLE>
The rest of the document should be placed here.
See index for other HTML tags
The HTML element is not visible upon HTML user agent rendering and can contain
NOTE : The
<HTML> element can
be used to set Style Sheet information
to be used for the whole document.
The Internet Explorer 4.0 (and above) specific
TITLE attribute is used for informational purposes. As the
<HTML> element doesn't directly affect the display of
a document, no ToolTip is presented when using the
(as with other elements).
LANG attribute can be used to specify what language the
document is using. It accepts any valid ISO standard language abbreviation
"en" for English,
"de" for German
etc.) For more details, see the
Localisation section for more details.
Consistent with Internet Explorer 4.0's
HTML object model, the
<HTML> element supports various
properties and methods. In its role as a document structure element, it supports
Of the Standard Dynamic HTML properties,
and title. See the
Dynamic HTML properties topic for details.
Of the Standard Dynamic HTML methods,
setAttribute. See the
Dynamic HTML methods topic for details.
© 1995-1998, Stephen Le Hunte
|file: /Techref/language/html/ib/Document_Structure_Elements/html.htm, 4KB, , updated: 2021/2/5 16:56, local time: 2023/12/11 05:10,
|©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/Techref/language/html/ib/Document_Structure_Elements/html.htm"> <HTML></A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!