Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter smartyd

    (@smartyd)

    In looking over the list of invalid markups, it’s evident EVERYTHING I add to this site produces invalid markup: youtube, amazon associate, statcounter, all images!! Argh! Is this due to WordPress 3.0 bugs or what?

    WordPress uses XHTML and most add-on code from other sites is HTML, so it will generate code errors. If there is an XHTML option for the add-on code, then use that instead. If not, you can typically ignore the errors unless they are causing display problems.

    https://codex.www.ads-software.com/HTML_to_XHTML

    The other main cause of bad code in WordPress is using the visual editor. You can disable it somewhere in your dashboard.

    Most of your errors are due to having a plain & instead of the XHTML code version in your code.

    Thread Starter smartyd

    (@smartyd)

    What a relief! Thanks for the link. I went out into the world and ran a bunch of well-known sites on the w3c checker, and they all have tons of errors. But I shall be among the few with only a few thanks to you. : )

    I think I might be having the same problem – can you take a look at https://validator.w3.org/check?uri=http%3A//blackops-multiplayer.com/ and let me know if this is similar to what you saw? There are no obvious display problems when you visit the site.

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘invalid markup problem’ is closed to new replies.