Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts

    what do these validation errors mean?

    on this page?

    there's 9 of them, but I am not sure where to start with any of them.

    Any ideas?

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    on this page?

    there's 9 of them, but I am not sure where to start with any of them.

    Any ideas?
    the link is broken.

    best regards

  • #3
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    the link is broken.

    best regards
    ah, sorry, i just removed it under 10 minutes ago. here is the new link.

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    ah, sorry, i just removed it under 10 minutes ago. here is the new link.
    no problem,
    on line 100, change:
    Code:
    // ]]</script>
    to
    Code:
    // ]]></script>
    best regards

  • #5
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    no problem,
    on line 100, change:
    Code:
    // ]]</script>
    to
    Code:
    // ]]></script>
    best regards
    I do that, and my old total of 9 errors jumps to 13 errors. Does the number of errors always correlate positively with the percent of total code in error? i.e. is it possible that with this change there is less of an overall problem with the code taken as a whole, and that just a few more tiny insignificant errors have arisen which don't really amount to much? Hope I'm communicating effectively to you here.

  • #6
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    I do that, and my old total of 9 errors jumps to 13 errors.
    that's because are 13 not 9,
    if the correct way to close a cdata section is ]]>, why do you change it back to ]] which is obvious incorrect?

    Does the number of errors always correlate positively with the percent of total code in error? i.e. is it possible that with this change there is less of an overall problem with the code taken as a whole, and that just a few more tiny insignificant errors have arisen which don't really amount to much? Hope I'm communicating effectively to you here.
    the number of the errors is not relevant, just fix what you see that is wrong and when you are finish will be no error.

    btw, <br> must be replaced <br />,

    best regards

  • #7
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    that's because are 13 not 9,
    if the correct way to close a cdata section is ]]>, why do you change it back to ]] which is obvious incorrect?
    I didn't post the sites which I should have:

    this one has 9 errors and uses ]]

    this one has 13 errors and uses ]]>

    no other changes have been made.

    the number of the errors is not relevant, just fix what you see that is wrong and when you are finish will be no error.
    yes, it's just natural to assume the 9 will drop to at least 8 errors, and certainly not rise, after an error has been fixed, you know??

    btw, <br> must be replaced <br />,
    I am not sure why. This site tells me, "In HTML the <br> tag has no end tag."

  • #8
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    I didn't post the sites which I should have:

    this one has 9 errors and uses ]]

    this one has 13 errors and uses ]]>

    no other changes have been made.



    yes, it's just natural to assume the 9 will drop to at least 8 errors, and certainly not rise, after an error has been fixed, you know??
    continue with the 13 errors version and forget about other,
    the errors now are pretty clear:
    - <br> must be <br />, lines 113, 119
    - missing alt, multiple times, use alt=""
    - line 164, add a attribute type="text/javascript"
    - line 123, move ';' inside style or remove it
    the page is almost valid now,

    I am not sure why. This site tells me, "In HTML the <br> tag has no end tag."
    yes the site is right, but you don't use html, you use xhtml transitional, see the doctype,

    best regards

  • Users who have thanked oesxyl for this post:

    cyborg360 (01-02-2010)

  • #9
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    continue with the 13 errors version and forget about other,
    the errors now are pretty clear:
    - <br> must be <br />, lines 113, 119
    - missing alt, multiple times, use alt=""
    - line 164, add a attribute type="text/javascript"
    - line 123, move ';' inside style or remove it
    the page is almost valid now,
    many thanks. I've made all those changes but *still* have ten.


    yes the site is right, but you don't use html, you use xhtml transitional, see the doctype,
    why doesn't this read: <!DOCTYPE xhtml PUBLIC instead of <!DOCTYPE html PUBLIC to indicate xhtml? how do you know its xhtml?

  • #10
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    many thanks. I've made all those changes but *still* have ten.
    most of them are missing trailing slash, <img .... > must be <img ... />.
    also you must remove " from this:
    Code:
    <img height="20" src="images/menu.png" alt="" "width="924" width="924" />
    why doesn't this read: <!DOCTYPE xhtml PUBLIC instead of <!DOCTYPE html PUBLIC to indicate xhtml? how do you know its xhtml?
    I don't understand the question. If you ask why is xhtml then the answer is: you decide to use one instead of other when you put the doctype there.
    If you ask what is better to use, then will have a war,
    I prefere xhtml strict, what is good for you I really can't answer, depend of many things,

    best regards

  • #11
    Regular Coder
    Join Date
    Nov 2009
    Posts
    202
    Thanks
    25
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by oesxyl View Post
    most of them are missing trailing slash, <img .... > must be <img ... />.
    also you must remove " from this:
    Code:
    <img height="20" src="images/menu.png" alt="" "width="924" width="924" />

    I don't understand the question. If you ask why is xhtml then the answer is: you decide to use one instead of other when you put the doctype there.
    If you ask what is better to use, then will have a war,
    I prefere xhtml strict, what is good for you I really can't answer, depend of many things,

    best regards
    sorry if I was unclear. I'm just wondering how you knew it was XHTML. When I created the file in expression web it was listed "html" and I see no indication within the file as it stands that it is of the type, "xhtml."

    thanks for the validation tips. Now its error free!
    Last edited by cyborg360; 01-02-2010 at 07:50 AM.

  • #12
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by cyborg360 View Post
    sorry if I was unclear. I'm just wondering how you knew it was XHTML. When I created the file in expression web it was listed "html" and I see no indication within the file as it stands that it is of the type, "xhtml."
    seems that this is configured to insert a xhtml transition doctype on the top of the file and that also explain why do you have a BOM,
    I prefere a good text editor,

    thanks for the validation tips.
    you are welcome,

    Edit: seems that you finish the validation,


    best regards


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •