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

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

Expand Messages
  • loro
    ... ...
    Message 1 of 17 , Apr 17, 2006
      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 2 of 17 , Apr 17, 2006
        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 3 of 17 , Apr 17, 2006
          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 4 of 17 , Apr 18, 2006
            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 5 of 17 , Apr 18, 2006
              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 6 of 17 , Apr 18, 2006
                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 7 of 17 , Apr 21, 2006
                  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.