Support » Fixing WordPress » W3C Validation failed

  • If I try to validate my blog with
    http://validator.w3.org/
    it tells me:

    Sorry, I am unable to validate this document because on line 51 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.
    The error was: utf8 “\xB4” does not map to Unicode

    What document is ment?
    What is the first document that worpress is showing?
    My blogadress is http://www.tinarawatta.com
    Any ideas whats wrong?
    Thanks for help,
    lg
    Tina

Viewing 1 replies (of 1 total)
  • I didn’t see this error, but try revalidating your blog with the Show Source option checked. This will give you clickable line numbers that will take you to that spot in your code.

    You have lots of validation errors, mainly from using HTML 4 code in an XHTML document. Here are the differences between HTML and XHTML:

    http://codex.wordpress.org/HTML_to_XHTML

    I also see lots of this sort of thing below, which is NOT the correct way to add space between page elements (it’s extra code and extra work for you):

    <br><br><br />

    <center><img src="/blogg/wp-content/themes/rio/images/space.gif">
    </center>

    <br><br><br />

    Spacing should be controlled by css. I’d recommend editing the css (in style.css) to add more space or choosing a different theme.

Viewing 1 replies (of 1 total)
  • The topic ‘W3C Validation failed’ is closed to new replies.