This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1795 - The problem with HEAD tag
Summary: The problem with HEAD tag
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.7
Hardware: All Windows XP
: P4 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://www.w3.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 17:22 UTC by Alex
Modified: 2005-07-21 17:34 UTC (History)
0 users

See Also:


Attachments

Description Alex 2005-07-21 17:22:52 UTC
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.
Comment 1 Bj 2005-07-21 17:34:14 UTC
You lack a <title> element in <head>.