Error in validating to XHTML Strict - end tag for "head" which is not finished!

Hi there,

I have just finished coding one of my pages, and have no idea why it;s not validating to XHTML Strict - the validator says “end tag for “head” which is not finished.”, but unless I am missing something glaringly obvious, I’m not sure how to solve it :confused: - can anyone point out my error to me - would me much appreciated


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <link href="style.css" rel="stylesheet" type="text/css"/>
  <!--[if IE 6]><link rel="stylesheet" type="text/css" href="ie6ispants.css" /><![endif]-->

</head>

<body>

 <div id="container">
  <div id="header">
  <img src="images/logo.jpg" style="float:left;margin-left:12px;"/>
  <ul>
   <li><a href="index.html">Home</a></li>
   <li><a href="about.html">About</a></li>
   <li><a href="portfolio.html">Portfolio</a></li>
   <li><a href="contact.html">Contact</a></li>
   <li><a href="login.html">Login</a></li>
  </ul>
  </div>

  <h2>Contact</h2>

   <div style="float:left;">
   <h4><strong>test office</strong></h4>
    <address>
     tes<br/>
     hello<br/>
     what
    </address>

   <h4><strong>fantastic</strong></h4>
    <address>
     wahey.<br/>
    jjjj<br/>
     kkkkk
    </address>
   </div>





  </div>



 <div id="footer">
 </div>


</body>

</html>

Regards

James

You need to include the mandatory <title> element in your <head> for the document to be valid.

If you put a title tag in there it likes it better

<title> Whatever </title>

edit: damn - beaten to it!