<!DOCTYPE ...> required for HTML 2.0?"Daniel W. Connolly" <firstname.lastname@example.org>
Date: Wed, 13 Jul 94 21:24:04 EDT
From: "Daniel W. Connolly" <email@example.com>
To: Multiple recipients of list <firstname.lastname@example.org>
Subject: <!DOCTYPE ...> required for HTML 2.0?
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: HTML Implementation Group (Private)
The current working draft of the spec says that an HTML data
stream is supposed to be a complete SGML document, i.e. it's
supposed to include the
<!DOCTYPE HTML ...>
The spec also says that many html body parts don't have that,
and implementations are encouraged to infer a given prologue.
Now that I think about this, this is not quite "descriptive
of current practice."
Well... it agrees with current practice -- that is, if
you send a document with "<!DOCTYPE ...>" at the beginning,
all the browsers I've seen Do The Right Thing, i.e. they
ignore it :-)
For the purposes of the 2.0 spec, should we say that the
body of a text/plain MIME body part should be a complete
SGML document entity, or just the instance part?
i.e. which of the following are legal, and which are
just "widely tolerated"?
<!DOCTYPE HTML PUBLIC "...">