- From: Murray Altheim <murray@spyglass.com>
- Date: Sun, 22 Sep 1996 16:20:18 -0500
- To: "Carl Morris" <msftrncs@htcnet.com>
- Cc: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet), www-html@w3.org
>|Arnoud "Galactus" Engelfriet <galactus@htmlhelp.com> writes:
>| > As such, is it incorrect that MSIE fails on the following?
>| >
>| > <HEAD>
>| > <STYLE> blah blah style here
>| > </HEAD>
>|
>| STYLE has a required closing tag, and it's not unreasonable that
>| MS IE is just skipping the rest of the document as being invalid
>| CSS1 instead of HTML markup.
[...]
Carl Morris <msftrncs@htcnet.com> writes:
>I notice nothing different between the DTD definitions of <P> and <H1>
>to warrant the difference in handling their end tags...
from the HTML 2.0 DTD:
<!ENTITY % heading "H1|H2|H3|H4|H5|H6">
[...]
<!ELEMENT ( %heading ) - - (%text;)*>
Big difference. The "- -" in H1-H6 means both start and end tags are required.
<!ELEMENT P - O (%text)*>
The "- O" in P means the end tag is optional. Arnoud is corrent: the STYLE
element requires an end tag, so the given example is invalid.
Murray
```````````````````````````````````````````````````````````````````````````````
Murray Altheim, Program Manager
Spyglass, Inc., Cambridge, Massachusetts
email: <mailto:murray@spyglass.com>
http: <http://www.cambridge.spyglass.com/murray/murray.html>
"Give a monkey the tools and he'll eventually build a typewriter."
Received on Sunday, 22 September 1996 16:17:22 UTC