W3C home > Mailing lists > Public > www-html@w3.org > May 2007

Re: Cleaning House

From: Jim Jewett <jimjjewett@gmail.com>
Date: Wed, 2 May 2007 19:33:48 -0400
Message-ID: <fb6fbf560705021633h7c92afa8vb807dd6a8b657c21@mail.gmail.com>
To: "David Woolley" <forums@david-woolley.me.uk>
Cc: www-html@w3.org

On 5/2/07, David Woolley <forums@david-woolley.me.uk> wrote:
>
> Lee Roberts wrote:
> > <title>Some Title</title>
> > <p>Some text.</p>
>
> To be valid it needs a doctype declaration, but other than that it
> is valid and well formed HTML 4.01 Strict, although not minimal, as
> the </p> tag is not needed.

In html4, yes.

Accepting this sort of tag soup because of technicalities encourages
sloppy markup in general.  Support for this sort of exception
complicates parsers.

My preference would be that HTML5 declare it invalid, but specify the
error handling in the user-agent error-handling section.  A browser
aiming for mass adoption would need to get it right; a demonstration
parser should consider it a fairly low priority.

-jJ
Received on Wednesday, 2 May 2007 23:33:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:10 GMT