W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: illformed document validated

From: Karl-Michael Schneider <schneide@phil.uni-passau.de>
Date: Mon, 15 Jul 2002 20:15:51 +0200
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-validator@w3.org
Message-ID: <20020715201551.E2100@pike.phil.uni-passau.de>

On Mon, Jul 15, 2002 at 07:26:12PM +0200, Bjoern Hoehrmann wrote:
> * Karl-Michael Schneider wrote:
> >Below is a small test document which in my opinion is not valid html but is
> >validated by the W3C validator at http://validator.w3.org/.
> 
> ><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> >      "http://www.w3.org/TR/html4/loose.dtd">
> ><html>
> ><head>
> >  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> >  <title>Test</title>
> ></head>
> >
> ><p>Test</p>
> ></body>
> ></html>
> 
> The start- and end-tags of the body element are optional, the document
> is valid.

You mean a single end-tag of the body element without a matching start-tag (as
in the little document above) is allowed?
Received on Monday, 15 July 2002 14:15:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT