[Bug 1795] New: The problem with HEAD tag

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1795

           Summary: The problem with HEAD tag
           Product: Validator
           Version: 0.6.7
          Platform: All
               URL: http://www.w3.org
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P4
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: phenidone@mail.ru
         QAContact: www-validator-cvs@w3.org


Hello !

It nearly possible but it looks like I found an error.
For my extreemly simple page:
--------- cut here ----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> 
</HEAD>

<BODY>

&nbsp;
</BODY>
</HTML>
--------- cut here ----------
The Markup Validation Service v0.6.7 give next error:

--------- cut here ----------
Line 5, column 6: end tag for "HEAD" which is not finished

</HEAD>

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 (e.g. 'ul') which requires a 
child element (e.g. 'li') that you did not include. Hence the parent element 
is "not finished", not complete. 

--------- cut here ----------

As you can clearly see -it's mistake - tag HEAD was closed.

Im checking my website and most pages there have the same error.

Regards,
Alex.

Received on Thursday, 21 July 2005 17:22:54 UTC