Html

End Tag: Start & End tag optional
Support Key: 2 | 3 | 3.2 | 4 | IE1 | M1 | N1 | O2.1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
This is THE top level container element for an HTML document. It specifies that the content of the document is text with HTML markup tags. The content of an HTML document is a HEAD element which contains the title of the document plus other information ABOUT the document. Following the HEAD element comes the visible content of the document in the BODY element. Alternately, an author may specify a FRAMESET series in place of the BODY element that enumerates the layout of sub-documents to be contained in the master document.

Common Attributes
%Core%
2 | 3 | 3.2 | 4 | IE4 | M | N | O
%Language%
2 | 3 | 3.2 | 4 | IE | M | N | O

Specific Attributes
%Version%
2 | 3 | 3.2 | 4 | IE | M | N | O
Required? No
Description:
This is a quoted string called a Formal Public Identifier (FPI.) Every distinct DTD variation will have its own unique FPI string. For more on FPIs, see the !Doctype element. Using this string appears to take the place of the !Doctype element.
Values:
   Strict DTD:               "-//W3C//DTD HTML 4.0//EN"
   Transitional DTD:    "-//W3C//DTD HTML 4.0 Transitional//EN"
   Frames DTD:           "-//W3C//DTD HTML 4.0 Frameset//EN"
Example
<html "-//W3C//DTD HTML 4.0//EN">
<head>
    <title>this is a title</title>
</head>
<body>
    Document content
</body>
</html>
Parent Model
NA
Content Model
<body> | <frameset> | <head>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...