W3C home > Mailing lists > Public > www-validator@w3.org > June 2009

Re: [VE][66] Add Subject Here

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 10 Jun 2009 18:50:05 +0300
Message-ID: <E3620C87BA114B85AB34915D9FFF4A3C@JukanPC>
To: "Kumar Laconia" <gpr@laconiainc.com>, <www-validator@w3.org>
Kumar Laconia wrote:

> Validating http://www.praveenkumar.co.in/
> Error [66]: "document type does not allow element X here; assuming
> missing Y start-tag"

Your document has the end tag for the head element, </head> and then a 
script element, then the start tag of the body element, </body>. This is 
invalid; no elements may appear between the head element and the body 
element. The simplest fix is to move the </head> tag forward, right before 
the <body> tag, i.e. to put the script element inside the head element.

A script element is allowed both inside the head element and inside the body 
element but not between them.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Wednesday, 10 June 2009 15:52:43 GMT

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