Best Web SEO
February 3, 2017
The code-to-text ratio of a web page measures how much content it has in relation to the amount of code. Some search engines use code-to-text ratios to evaluate the relevancy of a page, and give priority to pages with a higher content ratio.
Best web development practices
On pages that have a lot of graphics try to include text, such as introductory paragraphs and captions. It’s good to have a balance between text and images, but at the same time it’s also good to ensure there isn’t too much text. Large paragraphs of text should be broken up with images to give the viewer something appealing to look at while skimming the article.
How can I check my code-to-text ratio?
While building the pages on your site, be aware of your code-to-text ratio and be sure to create more content than code. There are a plethora of free online tools that you can use you evaluate the site when complete. These tools have their own algorithms for calculating code-to-text ratio, which will give a variety of results. Again, the best rule of thumb is to keep your code simple and clean like previously explained.
While you should always be aware of code-to-text ratio, cramming large amounts of text on a page is not necessarily the best tactic to improve SEO. Some search engines do not include it in their algorithm, and human audiences, as well as search engines tend to stop reading large blocks of text after the first three or four paragraphs. You might achieve more success by breaking down long passages of text into sub-pages, each one optimized for its topic.
We’re here to help.
You’ve already taken the first step: you’re informed. You know exactly what code-to-text ratio is, but you might need help fixing it. The team at Best Web SEO wants you to know that we are available to help, reach out if you need us.
How do you ensure your code-to-text ratio is efficient? Do you have any questions or advice regarding code-to-text ratios? Have you found a good tool for calculating this? Don’t be shy, leave your thoughts in the comments below.