W3C home > Mailing lists > Public > www-validator@w3.org > May 2007

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

From: Rui del-Negro <w3validator@dvd-hq.info>
Date: Wed, 16 May 2007 04:39:37 +0100
To: Daniel Olivares Giménez <dani@gmail.cat>
Cc: www-validator@w3.org
Message-ID: <op.tsehsbvfjf0k3w@bigbang>

> On Tue, 15 May 2007 18:54:30 +0100, Daniel Olivares Giménez  
> <dani@gmail.cat> wrote:
> I think, sincerely, which there is an error on W3C html validator.
> Validating  
> http://cpmarianobenlliureelx.cult.gva.es/marianobenlliure/index.htm
> It says
> Error Line 12, column 6: end tag for "HEAD" which is not finished ..
> </head>
> (...)
> But the tag HEAD is finished!!!
> Here is the piece of the html code:
> All between <head> and </head> is fully compliant with html4 transitional
> <head>
> <meta http-equiv="Content-Type" content="text/html;  
> charset=windows-1252">
> <meta http-equiv="Content-Language" content="es">
> <meta http-equiv="Page-Exit"  
> content="revealTrans(Duration=0.6,Transition=12)">
> <link rel="stylesheet" type="text/css" href="../style.css"  
> title="MainCSS">
> <link rel="alternate stylesheet" type="text/css"  
> href="../style_large.css" title="Mayus1">
> <base target="_blank">
> <script language="javascript" src="../cpmbtxt.js"  
> type="text/javascript"></script>
> </head>
> (...)
> Anyone can help? Thank you.

Simply read the message from the validator:

--- 8< ---

Error Line 11 column 6: end tag for "HEAD" which is not finished.

Most likely, You nested tags and closed them in the wrong order. For  
example <p><em>...</p> is not acceptable, as <em> must be closed before  
<p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child  
element that you did not include. Hence the parent element is "not  
finished", not complete. For instance, <head> generally requires a  
<title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

--- 8< ---

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

Where is the <title> element of your head block? It's missing, exactly as  
the error message says, so the <head> is indeed not finished.

Received on Wednesday, 16 May 2007 03:45:04 UTC

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