Code to Text Ratio

Discussion in 'Google' started by twelfty, Apr 17, 2007.

  1. #1
    I've seen a few bits around referring to 'Code to Text Ratio'.

    I've searched around DP to find out more but all a bit vague.

    My question is: Does it matter as far as google goes?

    My other question is: If so, which is better - higher amount of text or higher amount of code?

    Twelfty
     
    twelfty, Apr 17, 2007 IP
  2. freeman

    freeman Active Member

    Messages:
    232
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #2
    more text is better, more content for the search engines.
     
    freeman, Apr 17, 2007 IP
  3. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Depends on several factors and most important the them of your site. For blogs, obviously you would find text to code ratio higher whereas could be lower on other sites. What site is it about?
     
    ketan9, Apr 17, 2007 IP
  4. heinlein99

    heinlein99 Peon

    Messages:
    538
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It would be nice to know the 'tipping point' at which a page is considered to have 'plenty of text' vs. 'just enough text to get noticed by the SE's'... but this is impossible, of course.
     
    heinlein99, Apr 17, 2007 IP
  5. 2003m2003

    2003m2003 Well-Known Member

    Messages:
    863
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    138
    #5
    I think it doesn't matter, Google need qulity text. Don't care about code but if the page is too 'heavy' with codes that can be a limiting factor for crawl.
     
    2003m2003, Apr 17, 2007 IP
  6. BrianR2

    BrianR2 Guest

    Messages:
    734
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I agree with the last post. Google is smart enough to know what is code and what isn't and they don't care about how much code you have on your page. Proof: Check this interview with Google's Vanessa Fox:

    "Google just doesn't really care all that much about the code to text ratio. We're going to pick up the text, extract it from the page and we're going to really ignore the code."

    http://videos.webpronews.com/2006/12/06/vanessa-fox-clarifies-the-role-of-google-sitemaps/
     
    BrianR2, Apr 17, 2007 IP
  7. NewBoy

    NewBoy Peon

    Messages:
    129
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Clean, simple code matters to SEO. The leaner the better as it makes easier for the search engines to read your pages.

    Clean, simple code means a fairly high Code/Visible Text ratio.

    The cleaner the code the closer to 100% this ratio will be. Naturally, you can not have more text than code, so 100% is the theoretical maximum that you can not reach.

    I have my pages' ratio at about 30% and I handwrite the code for all my pages by hand as I hate WYSIWYG stuff.
     
    NewBoy, Apr 17, 2007 IP
  8. hhheng

    hhheng Banned

    Messages:
    2,633
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Does it matter? As above said, any search engines can tell which part is code and which part is content displayed to visitors. Also can we control the code and text ratio?
     
    hhheng, Apr 17, 2007 IP
  9. KalvinB

    KalvinB Peon

    Messages:
    2,787
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Excessive code can increase load time for your pages.

    The longer it takes to load your page the more likely it is for a visitor to just hit the back button.
     
    KalvinB, Apr 17, 2007 IP
  10. mvandemar

    mvandemar Notable Member

    Messages:
    2,409
    Likes Received:
    307
    Best Answers:
    0
    Trophy Points:
    230
    #10
    mvandemar, Apr 17, 2007 IP
  11. motoxxx

    motoxxx Peon

    Messages:
    298
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Nice find Michael! That was pretty good. Point well made.
     
    motoxxx, Apr 18, 2007 IP
  12. heinlein99

    heinlein99 Peon

    Messages:
    538
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks, Mike. Yup, that's some relevant and useful stuff G. is indexing there...
     
    heinlein99, Apr 18, 2007 IP
  13. BrianR2

    BrianR2 Guest

    Messages:
    734
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Sure can. With CSS you can eliminate all the tables and a whole bunch of code.
     
    BrianR2, Apr 18, 2007 IP
  14. duilen

    duilen Active Member

    Messages:
    354
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #14
    I would say anything over 25% content is good and anything under 7-10% is bad. This is just speculation though.
     
    duilen, Apr 18, 2007 IP
  15. nfd2005

    nfd2005 Well-Known Member

    Messages:
    295
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #15
    I agree with duilen.

    Also think about it in the aspect of load time and user experience.

    Less Code = Less Wait.
     
    nfd2005, Apr 21, 2007 IP