Re: missing head tag

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 UTC