Re: illformed document validated

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 UTC