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 :
<!DOCTYPE HTML">
<HTML>
<HEAD>
<TITLE> title text </TITLE>
</HEAD>
<BODY>
The rest of the document should be placed here.
See index for other HTML tags
</BODY>
</HTML>
The HTML element is not visible upon HTML user agent rendering and can contain
only the <HEAD>
and
<BODY>
elements.
NOTE : The <HTML>
element can
be used to set Style Sheet information
to be used for the whole document.
TITLE="informational ToolTip"
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 TITLE
attribute
(as with other elements).
LANG="language setting"
The LANG
attribute can be used to specify what language the
document is using. It accepts any valid ISO standard language abbreviation
(for example "en"
for English, "de"
for German
etc.) For more details, see the
Document
Localisation section for more details.
Consistent with Internet Explorer 4.0's
Dynamic
HTML object model, the <HTML>
element supports various
properties and methods. In its role as a document structure element, it supports
no events.
<HTML...>
Properties
Of the
Standard
Dynamic HTML properties, <HTML>
supports
className, document,
id, isTextEdit,
lang, parentElement,
sourceIndex, tagName
and title. See the
Standard
Dynamic HTML properties topic for details.
<HTML...>
Methods
Of the
Standard
Dynamic HTML methods, <HTML>
supports
contains, getAttribute,
removeAttribute and
setAttribute. See the
Standard
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: 2024/11/22 18:53,
3.135.214.139:LOG IN
|
©2024 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://ecomorder.com/Techref/language/html/ib/Document_Structure_Elements/html.htm"> <HTML></A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.