Re: [VE][73] it says "tag for "HEAD" which is not finished ." but tag HEAD is finished

On Wed, 16 May 2007, Rui del-Negro wrote:

> Specifically, the last sentence: "For instance, <head> generally requires a 
> <title>". This is the case for HTML transitional.

Yes, that was the problem.

But the error message is slightly misleading. It _should_ say:
"For instance, in HTML, a <head> element must contain a <title> element".

The word "generally" is misleading. The statement applies to all versions 
of HTML without exception, and it only applies to HTML. Well, someone 
_could_ write a non-HTML document type with a <head> element that must 
contain a <title> element, but the point is that the statement does not 
apply at all to SGML or XML documents in general and it applies to all 
HTML documents, not just "generally".

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Wednesday, 16 May 2007 05:11:10 UTC