<link /> confuses the validator

How come this validates against HTML4.01 Transitional:
    <html>
      <head>
        <title>iter.dk - About</title>
        <link rel="stylesheet" type="text/css" href="css/iter.css">
      </head>
    <body>
    [etc...]

But this doesn't:
    <html>
      <head>
        <title>iter.dk - About</title>
        <link rel="stylesheet" type="text/css" href="css/iter.css" />
      </head>
    <body>
    [etc...]

The only difference is the "/" at the end of the <link> tag.
This is the error I'm getting:
----------------------------------------------
Line 9, column 6:
  </head>
       ^
Error: end tag for element "HEAD" which is not open; try removing the end
tag or check for improper nesting of elements
----------------------------------------------

This looks like an error in the validator. The <head> tag is open. The page
validates nicely against XHTML 1.0 Transitional.

Reference:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.iter.dk%2Fabout.aspx&char
set=%28detect+automatically%29&doctype=HTML+4.01+Transitional

Regards
/Morten Nielsen

Received on Sunday, 24 November 2002 17:14:35 UTC