Viewing 11 replies - 1 through 11 (of 11 total)
  • Mainly 2 things:
    – in the code you got from amazon and any third party you should replace every “&” with &
    (that will cvut half of the errors)
    – the other half is caused by your <font> tags. There is no need to thinker with those…

    BTW, there is always a description of the error, followed by a suggestion how to fix it. And if you check the Show Source box and click Revalidate > every error line will become a link taking you to the exact location of the error in your source code.

    Thread Starter susiej

    (@susiej)

    Thank you! To fix the font tags, do I need to delete every entry and retype them — or can I just go into the “edit Post” click on the html editor and delete the font tags?

    You can delete just the font tags. It is even easier if you disable the wysiwyg monster 🙂
    (admin > Users > Your profile – left bottom corner)

    Thread Starter susiej

    (@susiej)

    Thanks — very happy!

    Hi,
    I’ve had some of the same mark-up validation problems with links from Amazon, and also with my stat counter code from Dreamhost.

    Is there not a code to wrap around those to fix the problem so they validate?

    Thread Starter susiej

    (@susiej)

    Hi, I just replaced every & with &amp in the Amazon code, and now instead of the link, it shows a corner of the white internet page that says “this site is unavilable” instead of the link. http://www.susiej.com/wordpress.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Is there not a code to wrap around those to fix the problem so they validate?

    Not really. The code Amazon generates (as do many, many other sites) is invalid XHTML. Doesn’t get much more simple than that. Really the best you can do is to correct the problems in their code.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    susiej: Not “&amp”. The correct code is “&amp;”. The ending semicolon is important.

    Thread Starter susiej

    (@susiej)

    Ok — got that. Fixed that, but what is the “src” error I’m gettiing in the Amazon code?

    Thanks Otto42…

    for pointing out the correct code is & including the semi-colon. I missed that on correcting my stat counter codes, but now that I added it in correctly I’ve eliminated all but one error in my stat counter code.

    Susiej,

    Did you get the ‘src’ error corrected? It looks like you have all your Amazon links up and working now.

    Thread Starter susiej

    (@susiej)

    I’m still getting the errors when I run the check. However the links are shwoing up OK. Is it OK to have these errors?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Html errors’ is closed to new replies.