Re: end tags...

Arnoud (galactus@htmlhelp.com)
Sun, 22 Sep 1996 20:00:54 +0200


From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-html@w3.org
Subject: Re: end tags...
Date: Sun, 22 Sep 1996 20:00:54 +0200
Message-ID: <W7XRy4uYOBAf089yn@htmlhelp.com>

-----BEGIN PGP SIGNED MESSAGE-----

In article <199609220340.WAA16225@inet.htcnet.com>,
"Carl Morris" <msftrncs@htcnet.com> wrote:
> Some parts of the specification state that a closing tag is required...
> but I ask that in case of such a closing tag error, is it correct to
> recover by closing such tags:

Well, if a parser encounters syntactically invalid HTML, it's up
to the purpose of the parser. If it is supposed to display or interpret
the document, then you'll have to "fix" the input to make sense of
it. But if you're writing a checker, you can just give a warning
about it.

> 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.

Galactus

- -- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>


-----END PGP SIGNED MESSAGE-----