By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,221 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,221 IT Pros & Developers. It's quick & easy.

Why this now??

P: n/a
3 years ago, this site was validated to strict XTHML and when I went
back to check it today, it now tells me it not.

I have the closing </p> and </div>.

So why the changes since I have not been on the scene these past 3
years?

Thanks
This page is not Valid -//W3C//DTD XHTML 1.0 strict//EN!

Below are the results of attempting to parse this document with an SGML
parser.

1.Line 30, column 61: there is no attribute "title" (explain...).

...pt type="text/javascript" src="pages/js/today.js" title="Today
Date">
^

2.Line 36, column 5: end tag for "p" omitted, but OMITTAG NO was
specified

</div>
^

3.Line 28, column 0: start tag was here (explain...).

<p style="font-size:6pt">
^

4.Line 44, column 28: document type does not allow element "p" here;
missing one of "object", "ins", "del", "map", "button"
start-tag

<p style="text-align:center">Site Aprovided:&nbsp;<a href=""
tabindex="" title="
^

5.Line 44, column 441: end tag for "img" omitted, but OMITTAG NO was
specified

..."[Image: Bobby Approved (v 3.2)]"></a>&nbsp;<a
href="http://jigsaw.w3.org/css
^

6.Line 44, column 317: start tag was here (explain...).

...itle="Bobby's Home Page" tabindex=""><img longdesc=""
src="pages/icons/icons/
^

7.Line 45, column 2: document type does not allow element "p" here;
missing one of "object", "ins", "del", "map", "button"
start-tag

<p>&nbsp;</p>
^

8.Line 46, column 6: end tag for "p" omitted, but OMITTAG NO was
specified

</body>
^

9.Line 43, column 0: start tag was here (explain...).

<p>You have the following chose to view this site: <a
href="frame/frame2.html" t
^

22: <body style="background-color:#ffff80; font-size:9pt;">
23: <!-- Page Title -->
24: <div style="text-align:center">
25: <div style="position: absolute; top: 5px; left: 250px; font-size:
x-large; font-weight: bold; color: silver; background-color:
transparent;">Dave's CyberSpace Port</div>
26: <div style="position: absolute; top: 0px; left: 250px; font-size:
x-large; font-weight: bold; background-color: transparent;">Dave's
CyberSpace Port</div>
27: <p>&nbsp;</p>
28: <p style="font-size:6pt">
29: <a id="back"><!-- Today Date --></a>
30: <script type="text/javascript" src="pages/js/today.js"
title="Today Date">
31: </script>
32: <br />
33: <!-- Date Page was Updated -->
34: <script type="text/javascript" src="pages/js/update.js"
title="Date the page was last updated">
35: </script>
36: </div>
37: <!-- Page Info -->

43: <p>You have the following chose to view this site: <a
href="frame/frame2.html" tabindex="" title="Taking you to the main site
using frames">FRAMES</a>, <a href="nonframe/page2.html" tabindex=""
title="The main site without frames">No FRAME</a>, or <a
href="flash/flash.html" tabindex="" title="Taking you to the main
website using flash">FLASH</a>
44: <p style="text-align:center">Site Aprovided:&nbsp;<a href=""
tabindex="" title="Link to validation script by W3"><img longdesc=""
src="pages/icons/icons/website/vxhtml.gif" width="88" height="31"
alt="[Image: Approve XHTML Site]" /></a>&nbsp;<a
href="http://www.cast.org/bobby/" title="Bobby's Home Page"
tabindex=""><img longdesc="" src="pages/icons/icons/website/bobby.gif"
width="131" height="40" alt="[Image: Bobby Approved (v
3.2)]"></a>&nbsp;<a
href="http://jigsaw.w3.org/css-validator/validator?uri=http://europa.spaceports.com/~drum118/"
tabindex="" title="Link to validate script base on W3 stanadards"><img
longdesc="" src="pages/icons/icons/website/vcss.gif" width="88"
height="31" alt="[Image: Approve CSS site]" /></a></p>
45: <p>&nbsp;</p>
46: </body>
47: </html>

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
drum118 <dr*****@hotmail.com> wrote:
3 years ago, this site was validated to strict XTHML and when I went
back to check it today, it now tells me it not.
Either it didn't validate three years ago, or the code has been
changed since.
I have the closing </p> and </div>.
No you don't, not in all cases.
So why the changes since I have not been on the scene these past 3
years?
The XHTML 1.0 standard hasn't changed in that time.
This page is not Valid -//W3C//DTD XHTML 1.0 strict//EN!

Below are the results of attempting to parse this document with an SGML
parser.

1.Line 30, column 61: there is no attribute "title" (explain...).

...pt type="text/javascript" src="pages/js/today.js" title="Today
Date">
Self evident error. There is no title attribute for the script
element.
2.Line 36, column 5: end tag for "p" omitted, but OMITTAG NO was
specified
</div>

3.Line 28, column 0: start tag was here (explain...).
<p style="font-size:6pt">
You open a div on line 24. You open a paragraph on line 28. You don't
close the paragraph. You close the div on line 36. Hence the error.
4.Line 44, column 28: document type does not allow element "p" here;
missing one of "object", "ins", "del", "map", "button" start-tag
<p style="text-align:center">Site Aprovided:&nbsp;<a href=""
tabindex="" title="
You open a pagraprah on line 43. You don't close that paragraph. You
open another paragraph on line 44. Hence the error.
5.Line 44, column 441: end tag for "img" omitted, but OMITTAG NO was
specified
..."[Image: Bobby Approved (v 3.2)]"></a>&nbsp;<a
href="http://jigsaw.w3.org/css

6.Line 44, column 317: start tag was here (explain...).
...itle="Bobby's Home Page" tabindex=""><img longdesc=""
src="pages/icons/icons/


In XHTML all elements must be closed. <img> is not allowed it must be
either <img></img> or <img />.

The rest are knock on errors from your unclosed paragraphs.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2

P: n/a
Steve Pugh <st***@pugh.net> wrote:
drum118 <dr*****@hotmail.com> wrote:
So why the changes since I have not been on the scene these past 3
years?


The XHTML 1.0 standard hasn't changed in that time.


Whoops. My mistake. The XHTML 1.0 standard was revised in 2002 but all
of the errors in your code would still have been errors before then.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.