W3C Validation

  • Thread starter Thread starter Eric G
  • Start date Start date
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
 
You may want to ask this in a FrontPage newsgroup. This one is dedicated to
MS-Access databases.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
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:

(SNIP)
 
Hi Eric,

I was able to reproduce the exact error message that you just reported. The
error actually gave you a clue: "For instance, <head> generally requires a
<title>...". When I added a title, it passed the validation:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<Title>My Page</Title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>

TEST

</body>
</html>

Please note the this newsgroup is intended for questions and answers that
pertain to Microsoft Access, the database software.

Merry Christmas and Happy Holidays.

Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

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
 
My apologies! I posted this query to the wrong group.

Regards,

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
 
Tom,



I wish to thank you for your help, while at the same time apologise for
posting to the wrong group.



Please also accept my wishes for a Merry Christmas and a Happy and
Prosperous New Year.



Best regards







Eric G

Stockholm, Sweden
 
Hi Eric,

Merry Christmas and Happy Holidays to you too.

Not a problem about posting to the wrong group. It actually happens quite
frequently on MPA (microsoft.public.access). I enjoyed the change in pace,
just to see if I could help solve this for you.

http://home.comcast.net/~tutorme2/2006.jpg


Tom

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

:

Tom,

I wish to thank you for your help, while at the same time apologise for
posting to the wrong group.

Please also accept my wishes for a Merry Christmas and a Happy and
Prosperous New Year.

Best regards

Eric G

Stockholm, Sweden
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top