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

Re: missing head tag

From: zoran knezevic <zoransa@gmail.com>
Date: Sun, 11 May 2008 22:52:42 +0200
Message-ID: <ecea34890805111352h6305f018x61746c16f841a9b3@mail.gmail.com>
To: "Aniel Bhulai" <A.Bhulai@few.vu.nl>
Cc: www-validator@w3.org

The problem is you use TITLE and META that MUST BE inside HEAD tag.

HEAD tag is optional but if you have any other tag that requires head
tag you have to use it and it has to has closing tag.

--
Zoran
http://www.fragrantica.org http://www.fragrantica.com


On Thu, May 8, 2008 at 4:26 PM, Aniel Bhulai <A.Bhulai@few.vu.nl> 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
>
>
>
>
>
>
Received on Sunday, 11 May 2008 20:53:24 GMT

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