W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: Hunh???

From: David Dorward <david@dorward.me.uk>
Date: Sun, 16 May 2004 22:24:56 +0100
To: Theresa Mesa <clanmesa@earthlink.net>
Cc: www-validator@w3.org
Message-Id: <1084742696.8872.2.camel@localhost>

On Sun, 2004-05-16 at 22:01, Theresa Mesa wrote:
> I validated my page, http://home.earthlink.net/~mesa_test, and it found 
> two "errors."
> 
> The first was a closing head tag. I've searched the code after my 
> opening <head> tag, and I didn't find any extra </head> tags on line 
> 43.

In HTML 4.01, <head>, </head>, <body> and </body> are optional.
<noscript> is allowed only in <body>
Thus when you have <noscript> in the <head>, you are actually saying:
</head><body><noscript>.

> The other error was an onLoad script contained within the opening body 
> tag.

No, that is the entire <body> tag, and for the same reason.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Sunday, 16 May 2004 17:21:38 GMT

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