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

Re: missing head tag

From: Bojan Tesanovic <btesanovic@gmail.com>
Date: Sat, 10 May 2008 20:31:39 +0200
Message-Id: <B3D1F5BF-33F8-48FC-8E4E-DB38FFA7DAE3@gmail.com>
To: www-validator Community <www-validator@w3.org>
by the w3c spec for 4.01
The HEAD element
Start tag: optional, End tag: optional

so Head element is optional

On May 8, 2008, at 4:26 PM, Aniel Bhulai wrote:

>
> Dear Sirs,
>
> We just validated the following source code
>
> ===
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http:// 
> www.w3.org/TR/html4/st
> rict.dtd">
>
> <html lang="en">
>     <title>The current time</title>
> <meta http-equiv="Content-Type" content="text/html;  
> charset=iso-8859-15">
> <body>
>     <h1>My helpful timestamp site</h1>
>     <p>It is now </p>
>
>     <hr>
>     <p>Thanks for visiting my site.</p>
> </body>
> </html>
> ===
>
> As you can see, the source code is missing the head tag. But still  
> the validator.w3.org returns "This Page Is Valid HTML 4.01 Strict!".
> We think that this is a bug or did we miss something?
>
> Best regards,
> Aniel Bhulai
> Otto Schrofer
>
>
>
>
>

Bojan Tesanovic
http://www.carster.us/
Received on Saturday, 10 May 2008 18:32:22 GMT

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