W3C home > Mailing lists > Public > www-validator@w3.org > April 2004

Re: No closing </head> tag and still validated?

From: Liam Quinn <liam@htmlhelp.com>
Date: Thu, 22 Apr 2004 03:10:33 -0400 (EDT)
To: Ruben van Loen <ruben@tekstenuitleg.net>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0404220307570.11480-100000@localhost.localdomain>

On Thu, 22 Apr 2004, Ruben van Loen wrote:

> It tells me the document is valid HTML 4.01 Transitional. But if you
> look at the code you will see the closing </head> tag is missing. 
> I went through the DTD but I can't quite figure out anything specific
> about this. Any clues? 

<!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head -->

The second "O" means that the </head> tag is optional.  The end of the 
"head" is implied by the start of the "body".

Liam Quinn
Received on Thursday, 22 April 2004 03:11:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:40 UTC