Why this now??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • drum118

    Why this now??

    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">S ite 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=""><im g 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="backgrou nd-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;">D ave's CyberSpace Port</div>
    26: <div style="position : absolute; top: 0px; left: 250px; font-size:
    x-large; font-weight: bold; background-color: transparent;">D ave'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">S ite 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=""><im g 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=h ttp://europa.spacepor ts.com/~drum118/"
    tabindex="" title="Link to validate script base on W3 stanadards"><im g
    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>

  • Steve Pugh

    #2
    Re: Why this now??

    drum118 <drum118@hotmai l.com> wrote:
    [color=blue]
    >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.[/color]

    Either it didn't validate three years ago, or the code has been
    changed since.
    [color=blue]
    >I have the closing </p> and </div>.[/color]

    No you don't, not in all cases.
    [color=blue]
    >So why the changes since I have not been on the scene these past 3
    >years?[/color]

    The XHTML 1.0 standard hasn't changed in that time.
    [color=blue]
    >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">[/color]

    Self evident error. There is no title attribute for the script
    element.
    [color=blue]
    > 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">[/color]

    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.
    [color=blue]
    > 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">S ite Aprovided:&nbsp ;<a href=""
    >tabindex="" title="[/color]

    You open a pagraprah on line 43. You don't close that paragraph. You
    open another paragraph on line 44. Hence the error.
    [color=blue]
    > 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=""><im g longdesc=""
    >src="pages/icons/icons/[/color]

    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 <steve@pugh.net > <http://steve.pugh.net/>

    Comment

    • Steve Pugh

      #3
      Re: Why this now??

      Steve Pugh <steve@pugh.net > wrote:[color=blue]
      >drum118 <drum118@hotmai l.com> wrote:
      >[color=green]
      >>So why the changes since I have not been on the scene these past 3
      >>years?[/color]
      >
      >The XHTML 1.0 standard hasn't changed in that time.[/color]

      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 <steve@pugh.net > <http://steve.pugh.net/>

      Comment

      Working...