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

Re: Error validating <head> element

From: David Dorward <david@dorward.me.uk>
Date: Mon, 17 Aug 2009 09:46:28 +0100
Cc: www-validator@w3.org
Message-Id: <5CA80D0F-5FD6-402F-8110-F82D8C2DDA88@dorward.me.uk>
To: Jim Haungs <jhaungs@yahoo.com>

On 16 Aug 2009, at 21:36, Jim Haungs wrote:

> The following simple file, gives the error below when validating by  
> direct input.  Clearly the <head> is properly terminated.

> Line 5, Column 7: end tag for "head" which is not finished


It said it found the end tag. So it is properly terminated. The error  
is "not finished" not "end tag not found".

Copying and pasting your code into the direct input reveals that your  
*exact* problem is described in the extended information under the  
error:

"""
	For instance, in HTML the <head> element must contain a <title> child  
element
"""

(Please direct follow-ups to www-validator and not directly to me.  
Thanks)

-- 
David Dorward
http://dorward.me.uk
Received on Monday, 17 August 2009 08:47:06 GMT

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