Valid "HTML 0.f" Example
This file exercises all features possible within the earliest surviving DTD
which dates from August 20, 1992. A copy of this DTD has been provided
locally for actual use and posted at a location specified in the following
<!DOCTYPE> declaration:
This DTD could handle all list types, UL, OL, DIR, and MENU, along with DL, and
COMPACT versions of each. See here a short example of each in the same order:
- First unordered list item
- Second unordered list item
- First ordered list item
- Second ordered list item
First directory itemSecond directory item
- First definition term
- First definition defined
- Second definition
term
- Second definition defined
- First compact unordered list item
- Second compact
unordered list item
- First compact ordered list item
- Second compact
ordered list item
First compact directory itemSecond compact
directory item
- First compact definition term
- First compact definition
defined
- Second compact definition term
- Second compact definition defined
However, it does not take COMPACT straight but requires it to be set to
something, e. g. COMPACT=COMPACT (sort of like if we were using XHTML).
It also handles all six levels of headers:
First level heading
Second level heading
Third level heading
Fourth level heading
Fifth level heading
Sixth level heading
This file also has all of TITLE, NEXTID, and ISINDEX in its head, but the
ISINDEX here is only for show; there is no software on the server for this
instance. And an XMP was used to show the DOCTYPE above, so now see here
a sample text using LISTING:
This should be very tiny print.
Here is a test link pointing to the "HTML 0.f" DTD, right here!
Finally, this file defines entities for open and close brackets, ampersand, and a
bullet. Here they are, respectively: < > & •.
This version of HTML also handles the ADDRESS element, see here:
Somewhere north of Taft, California
Finally, there are some other limitations to the DTD for this version of HTML,
namely that PLAINTEXT cannot be supported since it has nine letters and Dan
Connolly (who prepared this DTD) had not as yet experimented with the SGML
declaration part in which a default length of 8 could be modified to something
longer to accomodate that particular tag. Furthermore, though it uses DOCUMENT
as the BODY, only the closing tag can be validly included, as it is in this file,
but the opening tag creates an error, though its implied presence, as in this
file, seems to be handled well enough. Given these problems, plus the otherwise
nonexistent "bullet" entity, and the need for COMPACT to be set to some value, I
do not consider this a usable DTD, although it can parse a simple file like this
one.
This "HTML 0.f" demonstration file, "html0.f.html," is "HTML 0.f"
compliant.
_________________________________________________________________
Next Level Up