Ready to get started?Download WordPress


Validation Errors (4 posts)

  1. TomHusband
    Posted 5 years ago #

    When I validate the code at http://validator.w3.org/ for http://california-travels.com/ it shows 97 errors and 4 warnings. I just started learning about XTHML and CSS so am not sure why there are so many errors and if it’s critical that they be corrected. Do the errors slow things down or prevent search engines from seeing the site? Would some of the errors come from the theme, a plugin or are they from WP? I’ve added a post date and it looks like a bunch of the errors are to do with that. The other errors I’m not so sure about. When I post it’s done the normal way.

    I’m a little leery about making the corrections. What’s the best way to correct it? View the code, copy and paste to notepad, Figure out where the error is and make the correction in style.css?



  2. moshu
    Posted 5 years ago #

    Lots of errors are caused by plugins that you are using - they have not-so-valid code...

    This one is completely your fault:
    <p>August 13, 2008 <div class="post">
    You can not put a div inside a paragraph. First you have to close that p with /p.
    And so on... Usually, when you start correcting them, by fixing one it will result in many of them getting fixed. E.g. Because of that unclosed p tag you get many errors down the code.

    It's a nice patience game :)

  3. moshu
    Posted 5 years ago #

    Oh, and check the "Show source" box and click Revalidate. Every error line # will become a link taking you to the exact location of the error.

  4. TomHusband
    Posted 5 years ago #

    Thanks Moshu.

    I'll start tackling them one at a time.

    I really appreciate the help.


Topic Closed

This topic has been closed to new replies.

About this Topic