E
Eric G
FrontPage 2003 SP2
XPP SP2
Hello,
I've followed a number of threads pertaining to the DOCTYPE statement, but still have some problems when it comes to running through a W3C Validation with the most basic of basic sites, and the same applies to some of my other sites.
I created a virgin site, with only one page and with one word on the page, ie the word "Test". The code contained in the one and only page reads:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
TEST
</body>
</html>
But, this page, after being published, will not pass the W3C Validation service. The error message is:
1.. 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 which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
As far as I can interpret the message is that the closing </head> is wrong, but what is wrong with this tag?
The entire "site" is generated in FP 2003, apart from the DOCTYPE statement, the " meta http-equiv" and the word "TEST".
What's wrong?
Best regards,
Eric G
Stockholm, Sweden
XPP SP2
Hello,
I've followed a number of threads pertaining to the DOCTYPE statement, but still have some problems when it comes to running through a W3C Validation with the most basic of basic sites, and the same applies to some of my other sites.
I created a virgin site, with only one page and with one word on the page, ie the word "Test". The code contained in the one and only page reads:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
TEST
</body>
</html>
But, this page, after being published, will not pass the W3C Validation service. The error message is:
1.. 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 which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
As far as I can interpret the message is that the closing </head> is wrong, but what is wrong with this tag?
The entire "site" is generated in FP 2003, apart from the DOCTYPE statement, the " meta http-equiv" and the word "TEST".
What's wrong?
Best regards,
Eric G
Stockholm, Sweden