P
Patrick Kik
Hi,
This is the code:
---------- begin xhtml ----------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
</head>
<body>
</body>
</html>
---------- end xhtml ----------
And this is the error when I validate with
http://www.w3schools.com/xhtml/xhtml_validate.asp:
---------- begin error ----------
Line 7, 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.
---------- end error ----------
I don't get it. What did I do wrong?
I hope someone can help me!
Greetings,
Patrick Kik, The Netherlands
This is the code:
---------- begin xhtml ----------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
</head>
<body>
</body>
</html>
---------- end xhtml ----------
And this is the error when I validate with
http://www.w3schools.com/xhtml/xhtml_validate.asp:
---------- begin error ----------
Line 7, 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.
---------- end error ----------
I don't get it. What did I do wrong?
I hope someone can help me!
Greetings,
Patrick Kik, The Netherlands