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

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