Loading ...
Sorry, an error occurred while loading the content.

RE: [NH] Re: input attributes Was:[NTB]

Expand Messages
  • John Wallace
    I think the DOCTYPE you have could have an effect on this too. http://validator.w3.org/docs/help.html#faq-doctype
    Message 1 of 17 , Apr 16 9:04 AM
    • 0 Attachment
      I think the DOCTYPE you have could have an effect on this too.
      http://validator.w3.org/docs/help.html#faq-doctype
    • loro
      ... It can happen for instance if you use XHTML syntax in a HTML document, e.g. The validator is like an oracle. Take some time to get used to. The
      Message 2 of 17 , Apr 16 9:10 AM
      • 0 Attachment
        Kerry Coates wrote:
        >Then I went to the WDG HTML Validator page and put in my web URL and I got
        >so many errors I just closed the browser. One of the errors was that it
        >"found an end tag for <head> but <head> was never opened." I had my <head>
        >tag in place so I don't know why I got this error.

        It can happen for instance if you use XHTML syntax in a HTML document, e.g.
        <meta /> The validator is like an oracle. Take some time to get used to.
        The error it reports isn't always the error you made, but the consequence
        of it.

        >I closed the browse once again. I give up.

        Nah, don't give up. We can help you sort it out, but then you'd have to
        show us the page. Those error pages can look scary, but mostly it isn't as
        bad as it seems at first look. The same error repeated over and over, or
        one error causing many reported errors that will go away once you correct
        the one that is the root of them all.

        Anyway, I think you can safely ignore the "error" SCE gave you. As I said,
        using labels is a good idea, but the missing id is not a formal error.
        Especially if you don't use labels. What would you want with the id then?

        Lotta
      • Kerry Coates
        I am sending the top code of my page. This seems to be where the problem is coming from. I have stripped out the center of the page and just left the top and
        Message 3 of 17 , Apr 16 11:05 PM
        • 0 Attachment
          I am sending the top code of my page. This seems to be where the problem is
          coming from. I have stripped out the center of the page and just left the
          top and bottom code. Maybe you can see something. Thanks!
          ****************************************************************************
          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "http://www.w3.org/TR/html4/loose.dtd">
          <html lang="en">
          <head>
          <title>Amazing Health Products - Vitamin C Supplements - GNLD - Golden
          Neolife Diamite</title>
          <meta name="description" content="These amazing health products give you
          protection against pollution - Vitamin c nutrition supplements-natural
          antioxidant health products-fibromyalgia and chronic fatigue-GNLD-Golden
          NeoLife Diamite">
          <meta name="keywords" content="vitamin supplements, Vitamin C, nutrition,
          GNLD, health products">
          <meta name="title" content="A GNLD Adventure - Amazing Health Products with
          Vitamin C Supplements - GNLD - Golden Neolife Diamite">
          <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
          <meta http-equiv="Pragma" content="no-cache">
          <meta name="RATING" content="General">
          <link rev="made" href="mailto:kerry@...">
          <link rel="meta" href="http://www.amazing-health-products.com/labels.rdf"
          type="application/rdf+xml" title="ICRA labels" />

          <meta http-equiv="Content-Style-Type" content="text/css">
          <style type="text/css"><!--
          body {
          scrollbar-face-color: #340D0E;
          scrollbar-shadow-color: #000000;
          scrollbar-highlight-color: #808080;
          scrollbar-3dlight-color: #000000;
          scrollbar-darkshadow-color: #85613d;
          scrollbar-track-color: #b09253;
          scrollbar-arrow-color: #ffffff; }
          --></style>
          </script>

          <link rel="stylesheet" href="main-style.css" type="text/css">

          </head>

          <body background="images/slate2.jpg" bgproperties="fixed" bgcolor="#916741"
          link="#CCCCCC" vlink="#ffffff" alink="#ffffff" class="main">

          TEST

          <table border="0" width="65%">
          <tr>
          <td width="24%"> </td>
          <td valign="top"><center>
          <a href="Golden-NeoLife-Diamite.htm"><img src="images/up_next.jpg"
          width="111" height="39" alt="Find out more about our company, Golden NeoLife
          Diamite (GNLD)" border="0"></a></center></td>
          </tr>
          </table>

          <br>

          <table border="0" width="75%">
          <tr>
          <td width="8%"> </td>
          <td valign="top"><center><hr width="65%"></center>
          <center>
          <img src="images/distributor-logo.gif" width="118" height="28" alt="Find
          more health products and vitamin supplements from your independent
          distributor." border="0"><br><font color="#000000" size="2"><b>Independent
          Distributor</b></font></center>
          <center><b><font color="#000000" size="+2"><u>Amazing Health
          Products</u></font></b><br>
          <b><font color="#000000" size="+1">
          Kerry Coates<br>
          P.O. Box 1005<br>
          Capitan, New Mexico 88316<br>
          505/354-2086<br>
          </font></b><b><a href="mailto:kerry@..."><font
          color="#660000" size="+1">E-Mail</font></a></b></center>
          <!-- Start FeedBlast ClickBank here -->
          <center><a href="http://neogal.feedblast.hop.clickbank.net">
          <img src="http://www.feed-blast.com/images/banner.gif" alt="Feed Blaster "
          border="0" width="468" height="60"><br>
          Feed Blaster takes online Advertising to a new Level!<br>Put your ad right
          to the screens of millions in 15 minutes!</a></center>
          <!-- End FeedBlast ClickBank here -->
          <hr width="65%">
          <center><font size="1"><b>© Copyright 2002. Golden NeoLife Diamite
          Distributor all rights reserved.<br>Contact the webmaster: <a
          href="mailto:kerry@...">Amazing Health
          Products</a></b></font></center>
          <center><font color="#000000" size="-1"><a
          href="http://www.icra.org/sitelabel/">This site is labeled with
          ICRA.</a></font></center>
          <center><a
          href="http://www.amazing-health-products.com/amazing-health-links.htm"><font
          size="2">Our Favorite Links</font></a></center>
          <center><font size="1">We have the most amazing nutrition health products
          and vitamin C supplements!!!</font></center>

          </td>
          </tr>
          </table>
          </body>
          </html>
          ***********************************************************************

          Kerry Coates
          Visit all my websites!
          http://www.GilaMountainDulcimers.com
          http://www.Amazing-Health-Products.com
          http://www.GamblingStrategyCards.com
          http://www.CharroCoats.com
          http://www.PaulCoatesGuitar.com


          ----- Original Message -----
          From: "John Zeman" <john041650@...>
          To: <ntb-html@yahoogroups.com>
          Sent: Sunday, April 16, 2006 6:59 AM
          Subject: [NH] Re: input attributes Was:[NTB]


          > Kerry it's been my experience this is generally caused by a number of
          > errors which confuse the validator(s). To resolve the problem I'll
          > make a temporary duplicate of the page, then strip out everything
          > except the absolute bare minimum code (e.g. only have a single word
          > like TEST in the body section). Validate that basic code, and if it
          > passes, insert more code, validating each time you do. Little by
          > little that should gradually expose each error which you can then correct.
          >
          > John
          >
          > --- In ntb-html@yahoogroups.com, "Kerry Coates" <kerry@...> wrote:
          >>
          >> I went to the "Validate Markup" page and put in my web URL and this
          > is the
          >> message I got:
          >>
          >> "Sorry, I am unable to validate this document because on line 87 it
          >> contained one or more bytes that I cannot interpret as utf-8 (in other
          >> words, the bytes found are not valid values in the specified Character
          >> Encoding). Please check both the content of the file and the character
          >> encoding indication."
          >>
          >> I don't understand this. It is like Greek to me. I am a really new
          >> webmaster and this is all too much for me to understand.
          >>
          >> Then I went to the WDG HTML Validator page and put in my web URL and
          > I got
          >> so many errors I just closed the browser. One of the errors was
          > that it
          >> "found an end tag for <head> but <head> was never opened." I had my
          > <head>
          >> tag in place so I don't know why I got this error.
          >>
          >> I closed the browse once again. I give up.
          >> Thank you for all your help anyway!
          >>
          >
          >
          >
          >
          >
          > CSE HTML Validator Lite - it's free:
          > http://home.earthlink.net/~5wink/dl/cselite652.exe
          >
          > Fookes Software Home: http://www.fookes.us/redir
          >
          > Yahoo! Groups Links
          >
          >
          >
          >
          >
          >
          >
          >
        • John Zeman
          I haven t followed this thread from the start so I m not sure what all problems you are referring to Kerry, however I ran the code you just posted through CSE
          Message 4 of 17 , Apr 17 5:08 AM
          • 0 Attachment
            I haven't followed this thread from the start so I'm not sure what all
            problems you are referring to Kerry, however I ran the code you just
            posted through CSE HTML Validator Pro 7 and after fixing the line
            break errors that were likely inserted by yahoo when you pasted it,
            there's only one actual error. In the HEAD section there is no
            opening <script> tag for the ending </script> tag.

            There are also quite a number of depreciation warning messages due to
            your lack of using CSS, but that shouldn't affect the appearance of
            the test file.

            If you remove the </script> tag from the head section and then try to
            validate it, what errors do you see?

            John


            --- In ntb-html@yahoogroups.com, "Kerry Coates" <kerry@...> wrote:
            >
            > I am sending the top code of my page. This seems to be where the
            problem is
            > coming from. I have stripped out the center of the page and just
            left the
            > top and bottom code. Maybe you can see something. Thanks!
            >
            ****************************************************************************
            > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
            > "http://www.w3.org/TR/html4/loose.dtd">
            > <html lang="en">
            > <head>
            > <title>Amazing Health Products - Vitamin C Supplements - GNLD - Golden
            > Neolife Diamite</title>
            > <meta name="description" content="These amazing health products give
            you
            > protection against pollution - Vitamin c nutrition supplements-natural
            > antioxidant health products-fibromyalgia and chronic
            fatigue-GNLD-Golden
            > NeoLife Diamite">
            > <meta name="keywords" content="vitamin supplements, Vitamin C,
            nutrition,
            > GNLD, health products">
            > <meta name="title" content="A GNLD Adventure - Amazing Health
            Products with
            > Vitamin C Supplements - GNLD - Golden Neolife Diamite">
            > <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
            > <meta http-equiv="Pragma" content="no-cache">
            > <meta name="RATING" content="General">
            > <link rev="made" href="mailto:kerry@...">
            > <link rel="meta"
            href="http://www.amazing-health-products.com/labels.rdf"
            > type="application/rdf+xml" title="ICRA labels" />
            >
            > <meta http-equiv="Content-Style-Type" content="text/css">
            > <style type="text/css"><!--
            > body {
            > scrollbar-face-color: #340D0E;
            > scrollbar-shadow-color: #000000;
            > scrollbar-highlight-color: #808080;
            > scrollbar-3dlight-color: #000000;
            > scrollbar-darkshadow-color: #85613d;
            > scrollbar-track-color: #b09253;
            > scrollbar-arrow-color: #ffffff; }
            > --></style>
            > </script>
            >
            > <link rel="stylesheet" href="main-style.css" type="text/css">
            >
            > </head>
            >
            > <body background="images/slate2.jpg" bgproperties="fixed"
            bgcolor="#916741"
            > link="#CCCCCC" vlink="#ffffff" alink="#ffffff" class="main">
            >
            > TEST
            >
            > <table border="0" width="65%">
            > <tr>
            > <td width="24%"> </td>
            > <td valign="top"><center>
            > <a href="Golden-NeoLife-Diamite.htm"><img src="images/up_next.jpg"
            > width="111" height="39" alt="Find out more about our company, Golden
            NeoLife
            > Diamite (GNLD)" border="0"></a></center></td>
            > </tr>
            > </table>
            >
            > <br>
            >
            > <table border="0" width="75%">
            > <tr>
            > <td width="8%"> </td>
            > <td valign="top"><center><hr width="65%"></center>
            > <center>
            > <img src="images/distributor-logo.gif" width="118" height="28"
            alt="Find
            > more health products and vitamin supplements from your independent
            > distributor." border="0"><br><font color="#000000"
            size="2"><b>Independent
            > Distributor</b></font></center>
            > <center><b><font color="#000000" size="+2"><u>Amazing Health
            > Products</u></font></b><br>
            > <b><font color="#000000" size="+1">
            > Kerry Coates<br>
            > P.O. Box 1005<br>
            > Capitan, New Mexico 88316<br>
            > 505/354-2086<br>
            > </font></b><b><a href="mailto:kerry@..."><font
            > color="#660000" size="+1">E-Mail</font></a></b></center>
            > <!-- Start FeedBlast ClickBank here -->
            > <center><a href="http://neogal.feedblast.hop.clickbank.net">
            > <img src="http://www.feed-blast.com/images/banner.gif" alt="Feed
            Blaster "
            > border="0" width="468" height="60"><br>
            > Feed Blaster takes online Advertising to a new Level!<br>Put your ad
            right
            > to the screens of millions in 15 minutes!</a></center>
            > <!-- End FeedBlast ClickBank here -->
            > <hr width="65%">
            > <center><font size="1"><b>© Copyright 2002. Golden NeoLife Diamite
            > Distributor all rights reserved.<br>Contact the webmaster: <a
            > href="mailto:kerry@...">Amazing Health
            > Products</a></b></font></center>
            > <center><font color="#000000" size="-1"><a
            > href="http://www.icra.org/sitelabel/">This site is labeled with
            > ICRA.</a></font></center>
            > <center><a
            >
            href="http://www.amazing-health-products.com/amazing-health-links.htm"><font

            > size="2">Our Favorite Links</font></a></center>
            > <center><font size="1">We have the most amazing nutrition health
            products
            > and vitamin C supplements!!!</font></center>
            >
            > </td>
            > </tr>
            > </table>
            > </body>
            > </html>
            > ***********************************************************************
          • Kerry Coates
            John, I have copied the Validator error report below. The last error is for a mouseover code I put in the body of the webpage for links like this:
            Message 5 of 17 , Apr 17 9:49 AM
            • 0 Attachment
              John,
              I have copied the Validator error report below. The last error is for a
              mouseover code I put in the body of the webpage for links like this:
              ********************
              <p>Eat a banana a day?<br>
              A <a href="bananas.htm"><font size="3" onmouseover="this.style.color='red'"
              onmouseout="this.style.color='DF8D13'">BANANA</font></a> a day keeps the
              doctor away!</p>
              ********************
              The other errors:

              a.. Line 12, character 122:
              ... rdf+xml" title="ICRA labels" />
              ^Warning: net-enabling start-tag; possibly
              missing required quotes around an attribute value

              a.. Line 13, character 57:
              ... tyle-Type" content="text/css">
              ^Error: element META not allowed here;
              check which elements this element may be contained within

              a.. Line 14, character 23:
              <style type="text/css"><!--
              ^Error: element STYLE not allowed here; check which
              elements this element may be contained within

              a.. Line 47, character 61:
              ... in-style.css" type="text/css">
              ^Error: element LINK not allowed here;
              check which elements this element may be contained within

              a.. Line 48, character 7:
              </head>
              ^Error: end tag for element HEAD which is not open; try removing the
              end tag or check for improper nesting of elements

              a.. Line 50, character 51:
              ... ges/slate2.jpg" bgproperties="fixed" bgcolor="#916741" link= ...
              ^Error: there is no attribute BGPROPERTIES
              for this element (in this HTML version)

              a.. Line 50, character 136:
              ... alink="#ffffff" class="main">
              ^Error: element BODY not allowed here;
              check which elements this element may be contained within

              a.. Line 97, character 70:
              ... "><font size="4" onmouseover="this.style.color='red'" onmous ...
              ^Error: there is no attribute ONMOUSEOVER
              for this element (in this HTML
              version)********************************************

              Thank you for your time. I just think all my CSS might be wrong. I am just
              learning CSS. And someone said I have some wrong code for the declarations
              tag I used.

              Kerry Coates
              Visit all my websites!
              http://www.GilaMountainDulcimers.com
              http://www.Amazing-Health-Products.com
              http://www.GamblingStrategyCards.com
              http://www.CharroCoats.com
              http://www.PaulCoatesGuitar.com


              ----- Original Message -----
              From: "John Zeman" <john041650@...>
              To: <ntb-html@yahoogroups.com>
              Sent: Monday, April 17, 2006 6:08 AM
              Subject: [NH] Re: input attributes Was:[NTB]


              >I haven't followed this thread from the start so I'm not sure what all
              > problems you are referring to Kerry, however I ran the code you just
              > posted through CSE HTML Validator Pro 7 and after fixing the line
              > break errors that were likely inserted by yahoo when you pasted it,
              > there's only one actual error. In the HEAD section there is no
              > opening <script> tag for the ending </script> tag.
              >
              > There are also quite a number of depreciation warning messages due to
              > your lack of using CSS, but that shouldn't affect the appearance of
              > the test file.
              >
              > If you remove the </script> tag from the head section and then try to
              > validate it, what errors do you see?
              >
              > John
              >
              >
              > --- In ntb-html@yahoogroups.com, "Kerry Coates" <kerry@...> wrote:
              >>
              >> I am sending the top code of my page. This seems to be where the
              > problem is
              >> coming from. I have stripped out the center of the page and just
              > left the
              >> top and bottom code. Maybe you can see something. Thanks!
              >>
              > ****************************************************************************
              >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
              >> "http://www.w3.org/TR/html4/loose.dtd">
              >> <html lang="en">
              >> <head>
              >> <title>Amazing Health Products - Vitamin C Supplements - GNLD - Golden
              >> Neolife Diamite</title>
              >> <meta name="description" content="These amazing health products give
              > you
              >> protection against pollution - Vitamin c nutrition supplements-natural
              >> antioxidant health products-fibromyalgia and chronic
              > fatigue-GNLD-Golden
              >> NeoLife Diamite">
              >> <meta name="keywords" content="vitamin supplements, Vitamin C,
              > nutrition,
              >> GNLD, health products">
              >> <meta name="title" content="A GNLD Adventure - Amazing Health
              > Products with
              >> Vitamin C Supplements - GNLD - Golden Neolife Diamite">
              >> <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
              >> <meta http-equiv="Pragma" content="no-cache">
              >> <meta name="RATING" content="General">
              >> <link rev="made" href="mailto:kerry@...">
              >> <link rel="meta"
              > href="http://www.amazing-health-products.com/labels.rdf"
              >> type="application/rdf+xml" title="ICRA labels" />
              >>
              >> <meta http-equiv="Content-Style-Type" content="text/css">
              >> <style type="text/css"><!--
              >> body {
              >> scrollbar-face-color: #340D0E;
              >> scrollbar-shadow-color: #000000;
              >> scrollbar-highlight-color: #808080;
              >> scrollbar-3dlight-color: #000000;
              >> scrollbar-darkshadow-color: #85613d;
              >> scrollbar-track-color: #b09253;
              >> scrollbar-arrow-color: #ffffff; }
              >> --></style>
              >> </script>
              >>
              >> <link rel="stylesheet" href="main-style.css" type="text/css">
              >>
              >> </head>
              >>
              >> <body background="images/slate2.jpg" bgproperties="fixed"
              > bgcolor="#916741"
              >> link="#CCCCCC" vlink="#ffffff" alink="#ffffff" class="main">
              >>
              >> TEST
              >>
              >> <table border="0" width="65%">
              >> <tr>
              >> <td width="24%"> </td>
              >> <td valign="top"><center>
              >> <a href="Golden-NeoLife-Diamite.htm"><img src="images/up_next.jpg"
              >> width="111" height="39" alt="Find out more about our company, Golden
              > NeoLife
              >> Diamite (GNLD)" border="0"></a></center></td>
              >> </tr>
              >> </table>
              >>
              >> <br>
              >>
              >> <table border="0" width="75%">
              >> <tr>
              >> <td width="8%"> </td>
              >> <td valign="top"><center><hr width="65%"></center>
              >> <center>
              >> <img src="images/distributor-logo.gif" width="118" height="28"
              > alt="Find
              >> more health products and vitamin supplements from your independent
              >> distributor." border="0"><br><font color="#000000"
              > size="2"><b>Independent
              >> Distributor</b></font></center>
              >> <center><b><font color="#000000" size="+2"><u>Amazing Health
              >> Products</u></font></b><br>
              >> <b><font color="#000000" size="+1">
              >> Kerry Coates<br>
              >> P.O. Box 1005<br>
              >> Capitan, New Mexico 88316<br>
              >> 505/354-2086<br>
              >> </font></b><b><a href="mailto:kerry@..."><font
              >> color="#660000" size="+1">E-Mail</font></a></b></center>
              >> <!-- Start FeedBlast ClickBank here -->
              >> <center><a href="http://neogal.feedblast.hop.clickbank.net">
              >> <img src="http://www.feed-blast.com/images/banner.gif" alt="Feed
              > Blaster "
              >> border="0" width="468" height="60"><br>
              >> Feed Blaster takes online Advertising to a new Level!<br>Put your ad
              > right
              >> to the screens of millions in 15 minutes!</a></center>
              >> <!-- End FeedBlast ClickBank here -->
              >> <hr width="65%">
              >> <center><font size="1"><b>© Copyright 2002. Golden NeoLife Diamite
              >> Distributor all rights reserved.<br>Contact the webmaster: <a
              >> href="mailto:kerry@...">Amazing Health
              >> Products</a></b></font></center>
              >> <center><font color="#000000" size="-1"><a
              >> href="http://www.icra.org/sitelabel/">This site is labeled with
              >> ICRA.</a></font></center>
              >> <center><a
              >>
              > href="http://www.amazing-health-products.com/amazing-health-links.htm"><font
              >
              >> size="2">Our Favorite Links</font></a></center>
              >> <center><font size="1">We have the most amazing nutrition health
              > products
              >> and vitamin C supplements!!!</font></center>
              >>
              >> </td>
              >> </tr>
              >> </table>
              >> </body>
              >> </html>
              >> ***********************************************************************
              >
              >
              >
              >
              >
              >
              >
              > CSE HTML Validator Lite - it's free:
              > http://home.earthlink.net/~5wink/dl/cselite652.exe
              >
              > Fookes Software Home: http://www.fookes.us/redir
              >
              > Yahoo! Groups Links
              >
              >
              >
              >
              >
              >
              >
            • loro
              ... ...
              Message 6 of 17 , Apr 17 10:13 AM
              • 0 Attachment
                Kerry Coates wrote:
                >I am sending the top code of my page. This seems to be where the problem is
                >coming from. I have stripped out the center of the page and just left the
                >top and bottom code. Maybe you can see something. Thanks!



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

                <snip>

                ><link rel="meta" href="http://www.amazing-health-products.com/labels.rdf"
                >type="application/rdf+xml" title="ICRA labels" />


                <link .... ICRA labels" />
                ^^^^^^^^^^^^^

                Yes,. you are using XHTML syntax in a HTML document. Nuke that closing
                slash and all others if there are any. No <br /> and <img />! That slash
                has another meaning in HTML and causes all sorts of errors. Once you have
                gotten rid of the XHTML slashes you will get more understandable errors
                from the validator.

                Lotta
              • John Zeman
                Where are you validating this Kerry? When I take your code posted a couple messages back and run it through the CSE HTML Pro Validator it finds no serious
                Message 7 of 17 , Apr 17 12:42 PM
                • 0 Attachment
                  Where are you validating this Kerry? When I take your code posted a
                  couple messages back and run it through the CSE HTML Pro Validator it
                  finds no serious errors (as I mentioned before) but a number of
                  depreciation messages. When I run that exact same page through the
                  validator at:

                  http://www.w3schools.com/site/site_validate.asp

                  It finds just one error involving your use of the BGPROPERTIES
                  attribute in the body tag, and even then in spite of the ominous
                  message, it's not a serious error.

                  And when I run your code through the free HTML Validator at:

                  http://onlinewebcheck.com/

                  It finds no serious errors either. Lotta is right in that you should
                  remove the XHTML tags as you're not declaring an XHTML document, but
                  it still validates.

                  To sum it up I see two things that need to be straightened out in your
                  code example from message #5468.

                  1. Fix the line breaks that yahoo probably inserted in the middle of
                  strings. For example something like this:

                  <meta name="description" content="These amazing
                  health products">

                  is bad whereas

                  <meta name="description" content="These amazing health products">

                  is ok. Again, your original code may not have those line breaks but
                  they're there in yahoo.

                  2. Get rid of the closing </script> tag in the head section.

                  The only other thing I can think of is I'm only validating your HTML
                  code example, not your style sheet. For what it's worth I validate my
                  HTML separately from my CSS anyway.

                  John





                  --- In ntb-html@yahoogroups.com, "Kerry Coates" <kerry@...> wrote:
                  >
                  > John,
                  > I have copied the Validator error report below. The last error
                  is for a
                  > mouseover code I put in the body of the webpage for links like this:
                  > ********************
                  > <p>Eat a banana a day?<br>
                  > A <a href="bananas.htm"><font size="3"
                  onmouseover="this.style.color='red'"
                  > onmouseout="this.style.color='DF8D13'">BANANA</font></a> a day keeps
                  the
                  > doctor away!</p>
                  > ********************
                  > The other errors:
                  >
                  > a.. Line 12, character 122:
                  > ... rdf+xml" title="ICRA labels" />
                  > ^Warning: net-enabling start-tag;
                  possibly
                  > missing required quotes around an attribute value
                  >
                  > a.. Line 13, character 57:
                  > ... tyle-Type" content="text/css">
                  > ^Error: element META not allowed here;
                  > check which elements this element may be contained within
                  >
                  > a.. Line 14, character 23:
                  > <style type="text/css"><!--
                  > ^Error: element STYLE not allowed here; check
                  which
                  > elements this element may be contained within
                  >
                  > a.. Line 47, character 61:
                  > ... in-style.css" type="text/css">
                  > ^Error: element LINK not allowed here;
                  > check which elements this element may be contained within
                  >
                  > a.. Line 48, character 7:
                  > </head>
                  > ^Error: end tag for element HEAD which is not open; try
                  removing the
                  > end tag or check for improper nesting of elements
                  >
                  > a.. Line 50, character 51:
                  > ... ges/slate2.jpg" bgproperties="fixed" bgcolor="#916741" link= ...
                  > ^Error: there is no attribute
                  BGPROPERTIES
                  > for this element (in this HTML version)
                  >
                  > a.. Line 50, character 136:
                  > ... alink="#ffffff" class="main">
                  > ^Error: element BODY not allowed here;
                  > check which elements this element may be contained within
                  >
                  > a.. Line 97, character 70:
                  > ... "><font size="4" onmouseover="this.style.color='red'" onmous ...
                  > ^Error: there is no attribute
                  ONMOUSEOVER
                  > for this element (in this HTML
                  > version)********************************************
                  >
                  > Thank you for your time. I just think all my CSS might be wrong. I
                  am just
                  > learning CSS. And someone said I have some wrong code for the
                  declarations
                  > tag I used.
                  >
                  > Kerry Coates
                • Kerry Coates
                  John, I am using the WDG HTML Validator at http://www.htmlhelp.com/tools/validator/ That is where I got the report I copied and pasted into the e-mail. I
                  Message 8 of 17 , Apr 17 8:10 PM
                  • 0 Attachment
                    John,
                    I am using the WDG HTML Validator at
                    http://www.htmlhelp.com/tools/validator/
                    That is where I got the report I copied and pasted into the e-mail. I
                    validated the entire page and not just the TEST code. My page does not have
                    the line breaks -- yes, I think they were created by the e-mail client when
                    I sent in the e-mail, but they are not present on my page.
                    I ran my CSS file through http://jigsaw.w3.org/css-validator/ and it
                    passed!

                    Kerry Coates
                    Visit all my websites!
                    http://www.GilaMountainDulcimers.com
                    http://www.Amazing-Health-Products.com
                    http://www.GamblingStrategyCards.com
                    http://www.CharroCoats.com
                    http://www.PaulCoatesGuitar.com


                    ----- Original Message -----
                    From: "John Zeman" <john041650@...>
                    To: <ntb-html@yahoogroups.com>
                    Sent: Monday, April 17, 2006 1:42 PM
                    Subject: [NH] Re: input attributes Was:[NTB]


                    > Where are you validating this Kerry? When I take your code posted a
                    > couple messages back and run it through the CSE HTML Pro Validator it
                    > finds no serious errors (as I mentioned before) but a number of
                    > depreciation messages. When I run that exact same page through the
                    > validator at:
                    >
                    > http://www.w3schools.com/site/site_validate.asp
                    >
                    > It finds just one error involving your use of the BGPROPERTIES
                    > attribute in the body tag, and even then in spite of the ominous
                    > message, it's not a serious error.
                    >
                    > And when I run your code through the free HTML Validator at:
                    >
                    > http://onlinewebcheck.com/
                    >
                    > It finds no serious errors either. Lotta is right in that you should
                    > remove the XHTML tags as you're not declaring an XHTML document, but
                    > it still validates.
                    >
                    > To sum it up I see two things that need to be straightened out in your
                    > code example from message #5468.
                    >
                    > 1. Fix the line breaks that yahoo probably inserted in the middle of
                    > strings. For example something like this:
                    >
                    > <meta name="description" content="These amazing
                    > health products">
                    >
                    > is bad whereas
                    >
                    > <meta name="description" content="These amazing health products">
                    >
                    > is ok. Again, your original code may not have those line breaks but
                    > they're there in yahoo.
                    >
                    > 2. Get rid of the closing </script> tag in the head section.
                    >
                    > The only other thing I can think of is I'm only validating your HTML
                    > code example, not your style sheet. For what it's worth I validate my
                    > HTML separately from my CSS anyway.
                    >
                    > John
                    >
                    >
                    >
                    >
                    >
                    > --- In ntb-html@yahoogroups.com, "Kerry Coates" <kerry@...> wrote:
                    >>
                    >> John,
                    >> I have copied the Validator error report below. The last error
                    > is for a
                    >> mouseover code I put in the body of the webpage for links like this:
                    >> ********************
                    >> <p>Eat a banana a day?<br>
                    >> A <a href="bananas.htm"><font size="3"
                    > onmouseover="this.style.color='red'"
                    >> onmouseout="this.style.color='DF8D13'">BANANA</font></a> a day keeps
                    > the
                    >> doctor away!</p>
                    >> ********************
                    >> The other errors:
                    >>
                    >> a.. Line 12, character 122:
                    >> ... rdf+xml" title="ICRA labels" />
                    >> ^Warning: net-enabling start-tag;
                    > possibly
                    >> missing required quotes around an attribute value
                    >>
                    >> a.. Line 13, character 57:
                    >> ... tyle-Type" content="text/css">
                    >> ^Error: element META not allowed here;
                    >> check which elements this element may be contained within
                    >>
                    >> a.. Line 14, character 23:
                    >> <style type="text/css"><!--
                    >> ^Error: element STYLE not allowed here; check
                    > which
                    >> elements this element may be contained within
                    >>
                    >> a.. Line 47, character 61:
                    >> ... in-style.css" type="text/css">
                    >> ^Error: element LINK not allowed here;
                    >> check which elements this element may be contained within
                    >>
                    >> a.. Line 48, character 7:
                    >> </head>
                    >> ^Error: end tag for element HEAD which is not open; try
                    > removing the
                    >> end tag or check for improper nesting of elements
                    >>
                    >> a.. Line 50, character 51:
                    >> ... ges/slate2.jpg" bgproperties="fixed" bgcolor="#916741" link= ...
                    >> ^Error: there is no attribute
                    > BGPROPERTIES
                    >> for this element (in this HTML version)
                    >>
                    >> a.. Line 50, character 136:
                    >> ... alink="#ffffff" class="main">
                    >> ^Error: element BODY not allowed here;
                    >> check which elements this element may be contained within
                    >>
                    >> a.. Line 97, character 70:
                    >> ... "><font size="4" onmouseover="this.style.color='red'" onmous ...
                    >> ^Error: there is no attribute
                    > ONMOUSEOVER
                    >> for this element (in this HTML
                    >> version)********************************************
                    >>
                    >> Thank you for your time. I just think all my CSS might be wrong. I
                    > am just
                    >> learning CSS. And someone said I have some wrong code for the
                    > declarations
                    >> tag I used.
                    >>
                    >> Kerry Coates
                    >
                    >
                    >
                    >
                    >
                    >
                    > CSE HTML Validator Lite - it's free:
                    > http://home.earthlink.net/~5wink/dl/cselite652.exe
                    >
                    > Fookes Software Home: http://www.fookes.us/redir
                    >
                    > Yahoo! Groups Links
                    >
                    >
                    >
                    >
                    >
                    >
                    >
                  • Kerry Coates
                    Lotta, Thank you! When I set up the ICRA labeling on my website, they sent me the code to insert into my page. I changed it (removed the slash) and then
                    Message 9 of 17 , Apr 18 8:01 PM
                    • 0 Attachment
                      Lotta,
                      Thank you! When I set up the ICRA labeling on my website, they sent me
                      the code to insert into my page. I changed it (removed the slash) and then
                      tested the link to see if it worked the same and it did!! Thanks! I will
                      run the validator again with this change.

                      Kerry Coates
                      Visit all my websites!
                      http://www.GilaMountainDulcimers.com
                      http://www.Amazing-Health-Products.com
                      http://www.GamblingStrategyCards.com
                      http://www.CharroCoats.com
                      http://www.PaulCoatesGuitar.com


                      ----- Original Message -----
                      From: "loro" <loro-spam01-@...>
                      To: <ntb-html@yahoogroups.com>
                      Sent: Monday, April 17, 2006 11:13 AM
                      Subject: Re: [NH] Re: input attributes Was:[NTB]


                      > Kerry Coates wrote:
                      >>I am sending the top code of my page. This seems to be where the problem
                      >>is
                      >>coming from. I have stripped out the center of the page and just left the
                      >>top and bottom code. Maybe you can see something. Thanks!
                      >
                      >
                      >
                      >><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                      >>"http://www.w3.org/TR/html4/loose.dtd">
                      >
                      > <snip>
                      >
                      >><link rel="meta" href="http://www.amazing-health-products.com/labels.rdf"
                      >>type="application/rdf+xml" title="ICRA labels" />
                      >
                      >
                      > <link .... ICRA labels" />
                      > ^^^^^^^^^^^^^
                      >
                      > Yes,. you are using XHTML syntax in a HTML document. Nuke that closing
                      > slash and all others if there are any. No <br /> and <img />! That slash
                      > has another meaning in HTML and causes all sorts of errors. Once you have
                      > gotten rid of the XHTML slashes you will get more understandable errors
                      > from the validator.
                      >
                      > Lotta
                      >
                      >
                      >
                      > CSE HTML Validator Lite - it's free:
                      > http://home.earthlink.net/~5wink/dl/cselite652.exe
                      >
                      > Fookes Software Home: http://www.fookes.us/redir
                      >
                      > Yahoo! Groups Links
                      >
                      >
                      >
                      >
                      >
                      >
                      >
                    • Kerry Coates
                      Marcelo, Yes, thank you! I used to have Tidy but when I changed computers I couldn t get it working again. I went through all sorts of e-mails trying to get
                      Message 10 of 17 , Apr 18 8:05 PM
                      • 0 Attachment
                        Marcelo,
                        Yes, thank you! I used to have Tidy but when I changed computers I
                        couldn't get it working again. I went through all sorts of e-mails trying
                        to get the file back to where it should be but I could never get it to
                        recognize the file. So I have been doing with out Tidy. Thank you for your
                        answer. If I had Tidy I would try it this way.
                        When I lost Tidy I wasn't overly concerned because I ran into problems
                        with it like you say -- sometimes it would scramble my page!
                        Then one day I decided it would be a good thing to have and tried to get
                        it back and it was futile.

                        Kerry Coates
                        Visit all my websites!
                        http://www.GilaMountainDulcimers.com
                        http://www.Amazing-Health-Products.com
                        http://www.GamblingStrategyCards.com
                        http://www.CharroCoats.com
                        http://www.PaulCoatesGuitar.com


                        ----- Original Message -----
                        From: "Marcelo de Castro Bastos" <mcblista@...>
                        To: <ntb-html@yahoogroups.com>
                        Sent: Sunday, April 16, 2006 8:36 AM
                        Subject: Re: [NH] Re: input attributes Was:[NTB]


                        > On the last exciting episode, aired on 16/4/2006 09:59, John Zeman
                        > invited the wrath of the gods by saying:
                        >> Kerry it's been my experience this is generally caused by a number of
                        >> errors which confuse the validator(s). To resolve the problem I'll
                        >> make a temporary duplicate of the page, then strip out everything
                        >> except the absolute bare minimum code (e.g. only have a single word
                        >> like TEST in the body section). Validate that basic code, and if it
                        >> passes, insert more code, validating each time you do. Little by
                        >> little that should gradually expose each error which you can then
                        >> correct.
                        >>
                        >>
                        > Another approach that usually works for me: use Tidy to check the code.
                        > Tidy will throw up a long list of problems. Go back to the original
                        > file (NOT the "corrected" one Tidy generated) and look for the first few
                        > errors Tidy listed. Try to understand what went wrong and fix it
                        > (sometimes it's a recurring error that you made a bunch of times
                        > throughout the file, but that you can fix with a Search & Replace).
                        > Rinse and repeat.
                        >
                        > Oh... why shouldn't you just let Tidy fix the file? Well, Tidy is not
                        > that smart. Sometimes its "fix" is worse than what you started with.
                        > Sometimes it will even mess up the formatting. It is fine for *finding*
                        > errors, it will deliver an easy-to-understand HTML file, and it does a
                        > couple things that are really tiresome to do by hand, like converting
                        > between different text encodings or between HTML and XHTML. But broken
                        > code will confuse it. A lot.
                        >
                        > Marcelo
                        >
                        >
                        > CSE HTML Validator Lite - it's free:
                        > http://home.earthlink.net/~5wink/dl/cselite652.exe
                        >
                        > Fookes Software Home: http://www.fookes.us/redir
                        >
                        > Yahoo! Groups Links
                        >
                        >
                        >
                        >
                        >
                        >
                        >
                        >
                      • Marcelo de Castro Bastos
                        On the last exciting episode, aired on 19/4/2006 00:05, Kerry Coates ... Tidy official page: http://tidy.sourceforge.net/ Latest Windows build:
                        Message 11 of 17 , Apr 18 9:46 PM
                        • 0 Attachment
                          On the last exciting episode, aired on 19/4/2006 00:05, Kerry Coates
                          invited the wrath of the gods by saying:
                          > Marcelo,
                          > Yes, thank you! I used to have Tidy but when I changed computers I
                          > couldn't get it working again. I went through all sorts of e-mails trying
                          > to get the file back to where it should be but I could never get it to
                          > recognize the file. So I have been doing with out Tidy. Thank you for your
                          > answer. If I had Tidy I would try it this way.
                          > When I lost Tidy I wasn't overly concerned because I ran into problems
                          > with it like you say -- sometimes it would scramble my page!
                          > Then one day I decided it would be a good thing to have and tried to get
                          > it back and it was futile.
                          >
                          >
                          Tidy official page:
                          http://tidy.sourceforge.net/
                          Latest Windows build:
                          http://dev.int64.org/tidy.html

                          Usually it's enough to just place the tidy.exe file in the same folder
                          as Notetab.

                          You MAY, however, have to add a line to the [Options] section in the
                          notetab.ini (or notepro.ini if you are using the Pro version) file in
                          the format:

                          TidyExe=C:\Program Files\Notetab Lite\tidy.exe

                          You can't edit directly the notetab.ini file with Notetab itself, by the
                          way. You can use a different editor, or save it with a different name
                          and manually replace it; but the easiest way by far is just to save the
                          altered file as !notetab.ini (yes, that's an exclamation mark in the
                          beginning), close Notetab and reopen it. Notetab will find the changed
                          file and replace the old one with it automatically.

                          You may also wish to create/fiddle with the tidy.cfg file. It should be
                          in the Notetab folder.

                          Oh, another interesting option to be checked is Igor Podlubny's free
                          offline validator. It's small, reasonably fast, integrates well with
                          Notetab, and can be found here:
                          http://www.tuke.sk/podlubny/


                          **Marcelo
                        • Kerry Coates
                          Thank you, Marcelo. No, it wasn t enough just to put the tidy.exe file in the same folder as NoteTab. I will try to add that line of code to the .ini file
                          Message 12 of 17 , Apr 21 7:38 AM
                          • 0 Attachment
                            Thank you, Marcelo. No, it wasn't enough just to put the tidy.exe file in
                            the same folder as NoteTab. I will try to add that line of code to the .ini
                            file and see it it finds it. Thanks again!

                            Kerry Coates
                            Visit all my websites!
                            http://www.GilaMountainDulcimers.com
                            http://www.Amazing-Health-Products.com
                            http://www.GamblingStrategyCards.com
                            http://www.CharroCoats.com
                            http://www.PaulCoatesGuitar.com


                            ----- Original Message -----
                            From: "Marcelo de Castro Bastos" <mcblista@...>
                            To: <ntb-html@yahoogroups.com>
                            Sent: Tuesday, April 18, 2006 10:46 PM
                            Subject: Re: [NH] Re: input attributes Was:[NTB]


                            > On the last exciting episode, aired on 19/4/2006 00:05, Kerry Coates
                            > invited the wrath of the gods by saying:
                            >> Marcelo,
                            >> Yes, thank you! I used to have Tidy but when I changed computers I
                            >> couldn't get it working again. I went through all sorts of e-mails
                            >> trying
                            >> to get the file back to where it should be but I could never get it to
                            >> recognize the file. So I have been doing with out Tidy. Thank you for
                            >> your
                            >> answer. If I had Tidy I would try it this way.
                            >> When I lost Tidy I wasn't overly concerned because I ran into
                            >> problems
                            >> with it like you say -- sometimes it would scramble my page!
                            >> Then one day I decided it would be a good thing to have and tried to
                            >> get
                            >> it back and it was futile.
                            >>
                            >>
                            > Tidy official page:
                            > http://tidy.sourceforge.net/
                            > Latest Windows build:
                            > http://dev.int64.org/tidy.html
                            >
                            > Usually it's enough to just place the tidy.exe file in the same folder
                            > as Notetab.
                            >
                            > You MAY, however, have to add a line to the [Options] section in the
                            > notetab.ini (or notepro.ini if you are using the Pro version) file in
                            > the format:
                            >
                            > TidyExe=C:\Program Files\Notetab Lite\tidy.exe
                            >
                            > You can't edit directly the notetab.ini file with Notetab itself, by the
                            > way. You can use a different editor, or save it with a different name
                            > and manually replace it; but the easiest way by far is just to save the
                            > altered file as !notetab.ini (yes, that's an exclamation mark in the
                            > beginning), close Notetab and reopen it. Notetab will find the changed
                            > file and replace the old one with it automatically.
                            >
                            > You may also wish to create/fiddle with the tidy.cfg file. It should be
                            > in the Notetab folder.
                            >
                            > Oh, another interesting option to be checked is Igor Podlubny's free
                            > offline validator. It's small, reasonably fast, integrates well with
                            > Notetab, and can be found here:
                            > http://www.tuke.sk/podlubny/
                            >
                            >
                            > **Marcelo
                            >
                            >
                            > CSE HTML Validator Lite - it's free:
                            > http://home.earthlink.net/~5wink/dl/cselite652.exe
                            >
                            > Fookes Software Home: http://www.fookes.us/redir
                            >
                            > Yahoo! Groups Links
                            >
                            >
                            >
                            >
                            >
                            >
                            >
                          Your message has been successfully submitted and would be delivered to recipients shortly.