Thread: Clean Code

    #1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Feb 2016
    Posts
    28
    Rep Power
    0

    Clean Code


    I know clean code gives better SEO ratings, so my question is pertaining to this. I just ran my CSS file through a validator for the first time with a site I am creating and I have errors, but they are only for @-webkit-keyframes items, which I found this will appear in a validator as an error because it cannot be validated. BTW I was really surpised with 7,000+ lines of code to not have any actual errors.

    Will these errors hurt me SEO rating or is responsitivity more of a determining factor?
  2. #2
  3. Dinosaur
    SEO Chat Skiller (1500 - 1999 posts)

    Join Date
    Jun 2011
    Location
    UK
    Posts
    1,710
    Rep Power
    2897
    Having clean code as you put it does not effect your ranking. However it is good practise and something a webmaster should do to make their site easier to manage.
    Even errors in css will not hold you back from a SEO point of view unless it breaks the site. I would recommend you minimize your css files though which reduces file sizes and in turn speeds up your site.
  4. #3
  5. Contributing User
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Apr 2011
    Posts
    843
    Rep Power
    998
    Originally Posted by Chedders
    Having clean code as you put it does not effect your ranking.
    Maybe better to say "Having clean code does not directly affect your rankings" because if your site falls apart in 80% of browsers due to duff code it is going to affect your position...

    To the OP - which validator did you use ... ?
  6. #4
  7. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Feb 2016
    Posts
    28
    Rep Power
    0
    Thanks guys.

    I used the w3 validator.

Similar Threads

  1. So i really want to clean up my code.....
    By jlcpcnc in forum Web Design, Coding and Programming
    Replies: 6
    Last Post: Jun 21st, 2012, 10:00 PM
  2. Replies: 0
    Last Post: Mar 6th, 2010, 12:00 PM
  3. Anyone recommend tool/extension to clean HTML code
    By cymro in forum Search Engine Optimization
    Replies: 3
    Last Post: Oct 26th, 2006, 04:48 PM
  4. Does Clean Html code will be better for SEeach engine position
    By pinonsale in forum Search Engine Optimization
    Replies: 21
    Last Post: Jul 1st, 2006, 02:04 PM
  5. Clean Code = Better Serps?
    By mortgage-pro in forum Google Optimization
    Replies: 25
    Last Post: Mar 7th, 2005, 06:15 AM

IMN logo majestic logo threadwatch logo seochat tools logo