W3C Validation error
Hej,Når jeg prøver at validere min side, så får jeg nedenstående 2 fejl, men jeg forstår ikke hvor problemet ligger:
Validation Output: 2 Errors
1. Error Line 66, Column 8: document type does not allow element "HTML" here
<html><head>
✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
2. Error Line 68, Column 7: 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 which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Her er min side:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="SHORTCUT ICON" href="http://www.eksperten.dk/test.ico">
<title>T i t e l</title>
<link rel="stylesheet" type="text/css" href="eksperten.css">
<link rel="stylesheet" type="text/css" href="eksperten2.css">
<script type="text/javascript">
...
</script>
</head>
<body>
...
</body>
</html>