Re: end tags...

Arnoud (
Sun, 22 Sep 1996 20:00:54 +0200

From: (Arnoud "Galactus" Engelfriet)
Subject: Re: end tags...
Date: Sun, 22 Sep 1996 20:00:54 +0200
Message-ID: <>


In article <>,
"Carl Morris" <> 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.


- -- 
E-mail: .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <>