Re: HTML 3.2 Content Models

Murray Altheim (
Wed, 8 May 1996 15:47:25 -0500

Message-Id: <v02110104adb6b573dcce@[]>
Date: Wed, 8 May 1996 15:47:25 -0500
From: (Murray Altheim)
Subject: Re: HTML 3.2 Content Models

Dianne Gorman <> writes:
>I have constructed hierarchical trees of the content models in the
>html 3.2 dtd.
>  if you are interested.
>These are done by hand, so be gentle if you find errors.


There are tools to do this without errors. If you're interested, I maintain
an online document that catalogs DTDs in browseable format. HTML 3.2 is
available currently, and I will (on finding the time) also build the DTD
comparison documents (all compliments to Earl Hood on the perl tools...).

The page is at

>PLAINTEXT appears to be an orphan - it is in the preformatted text
>section of the DTD, but it doesn't seem to be in the content models

PLAINTEXT is an anomaly, given that its intended usage is not
SGML-conformant. Basically, everything after <PLAINTEXT> was not to be
parsed as SGML content. This invalidates any document, given that there
cannot then be any closing BODY or HTML tags. I think we deal with it
internally in our DTDs by keeping its allowed usage outside of BODY, but
I'd have to check. If there are levels of deprecation, this one rates about
a ten.


     Murray Altheim, Program Manager
     Spyglass, Inc., Cambridge, Massachusetts
     email: <>
     http:  <>
            "Give a monkey the tools and he'll eventually build a typewriter."