Welcome to WebmasterWorld Guest from 54.197.90.95

Forum Moderators: phranque

Message Too Old, No Replies

Code to Text Ratio

     
4:06 pm on Oct 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 8, 2006
posts:1232
votes: 0


I have a 14% code to text ratio...

Web Page Size :
19249 Bytes = 19 KB

Code Size :
16455 Bytes = 16 KB

Text Size :
2794 Bytes = 3 KB

Code to Text Ratio : 14.52 %

I have done a little reading in that a higher ratio percentage is better?

So add more text?

If that is the case, would i do more good than harm if i added a "More Information" link that has a hidden DIV tag that expands and displays some keyword rich content?

Not an overload of keywords obviously, i dont want to kill my site, but a few paragraphs that talk about my site, about us,....etc...

3:00 am on Nov 8, 2007 (gmt 0)

New User

10+ Year Member

joined:Aug 18, 2006
posts:11
votes: 0


Could try tidying up your code more if its not that clean?
4:25 pm on Nov 12, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2003
posts:1550
votes: 0


I have done a little reading in that a higher ratio percentage is better?

So add more text?

Or remove some code - are you using tables or CSS? I was able to 'shrink' page sizes from an average of 20Kb+ to under 10Kb by switching to table-less coding.

If that is the case, would i do more good than harm if i added a "More Information" link that has a hidden DIV tag that expands and displays some keyword rich content?
Why not show this div by default? Is it beneficial to all your visitors? If so show it without them having to click to see it.