W3C home > Mailing lists > Public > www-validator@w3.org > August 2001

Re: This page validates without a <body> tag!!

From: Jim Correia <correia@barebones.com>
Date: Sun, 19 Aug 2001 22:40:43 -0400
To: www-validator@w3.org
Message-ID: <auto-000001185730@barebones.com>
On Thursday, August 16, 2001, at 06:43 PM, Drew Ronneberg wrote:

> This page will validate as HTML 4.01 strict or transitional even though
> it doesn't have a <body> tag.
>
> <html>
> <head>
> <title>Test</title>
> </head>
> <h3>Test</h3>
> </body>
> </html>

The opening and closing tag for the body element are optional when they 
can be inferred from the context.  Your page *is* valid.

Jim
Received on Sunday, 19 August 2001 22:40:44 GMT

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