Text ratio Code is the percentage of a web page that is actual, text content. It is believed that search engines 'like' sites text to code ratio, which .
![]() |
Text Ratio |
What is text ratio code?
Each web page contains a certain amount of code and a certain amount of regular text. Code to Text Ratio (a.k.a. Text to HTML ratio) represents the percentage of original text in a web page compared to the percentage of HTML code on a page.Basically, it tells you what percentage of the page is text.
Read more : Editing Tips To Your Improve Blog Writing Skills SEO 2020
How to calculate your text in HTML ratio?
There are many online tools that automatically calculate the code in proportion to the text of the page.You need to specify the URL of the page you want to analyze. This tool will then take the source code of the page and extract the text from the paragraph automatically and the anchor text from the HTML code.
The tool will return 1%: this is the content of the page. This percentage refers to the visible text ratio as opposed to HTML elements, image tags and other invisible information.
Here are some examples of the tools I use to calculate text in proportion to HTML:
- http://tools.seochat.com/tools/code-to-text-ratio/
- http://www.whatsmyip.org/text-to-code-ratio/
- https://www.site24x7.com/text-ratio.html
Is a code-to-test ratio important for SEO?
The ratio of HTML to text is not a ranking factor for search engines.. Search engines do not depend on the quality of a website or its content.That's why some SEO experts believe that text is meaningless in proportion to HTML and it is very unlikely that any search engine will review a website based on it.
But other experts believe that the text code of a page can be used by search engines to calculate the relevance of a web page. Less text-less code (less text) can be confusing, because crawlers don't know enough about the nature of your website.
Personally, I think the text of the code ratio has no significant effect on SEO, but it is not entirely useless. I often use it as an indicator of web page quality and code performance.
How to use code by text ratio in SEO
From an SEO standpoint, the code-to-text ratio should be used as:A text size indicator
Google first ignores content beyond 100Kb. So if it turns out that you have 150Kb of text per page, you should consider splitting it into multiple and focused pages. It will be better for SEO and users.
Indications of inefficient coding techniques
In general, it is possible to use the least amount of code. If you see less text in the HTML ratio for a page that appears to contain too much content, this may be an indication of inappropriate coding. Whenever possible you should try to reduce the amount of code on a page.
An indicator for page load speed
What makes text better than HTML for a website?
There is no right answer to this question.Better text than HTML ratio can be anywhere between 15 and 80%. However, I've seen pages with low ratios (less than 10%) that still perform very well in the SERPS.
For example, the percentage of ab.com is 8.7474%
The text ratio in my website is low code. Now what?
By now, you should understand that improving the text to HTML ratio should not be one of your SEO priorities.But low ratios can be an indication of inappropriate coding, a prerequisite for poor SEO performance. In this case, you need to make sure your code is efficient and readable by crawlers.
Here's how:
- Check if your HTML code is correct - you can do this at http: //) ator.w3.org/. Incorrect HTML can cause problems for crawlers and users.
- Remove all invalid code.
- Check your page loading speed to see how efficient your code is. Many aspects of page speed depend on code performance. Google's Page Speed tool can give you some tips on how to improve your page load times and therefore improve page code performance.
- Only use JavaScript and Flash if necessary - you can have a beautiful Flash page, but if a crawler can't read it, you won't do better from an SEO standpoint. However, you can offer HTML support for non-Flash users and crawlers.
- Remove any unnecessary code - large white spaces, many tabs, comments and pings: all of this results in a large amount of code on the page.
- Avoid tables. - Tables also generate a lot of HTML. So use them in your order only if necessary.
- Use CSS for styling and formatting.
- Resize your photos and remove unnecessary ones.
- Keep your page size below 300kb.
- Remove any hidden text that is not visible to the public.
- Your page must always contain some plain text. Add easily readable text with standard user information.
Why HTML is not a good text ratio
You can't always have a high proportion of code.Here are some cases in which achieving a high ratio is technically impossible:
- Very short pages (contact us…) - Each page requires a minimum number of elements. On some short pages, the code will always be longer.
- Media heavy pages (galleries, videos)
Pages that use Flash or Ajax - Finally: Stop calculating the ratio! Focus on content and coding methods
There is more to worry about than the HTML ratio code of your pages.
If your website developer is using good coding methods and your pages are created using minimal HTML / CSS then you probably have nothing to worry about. Even if the content ratio code is low.Problems can arise when the source code of your pages is filled with useless HTML and CSS, but increasing the code to text ratio should not be a priority for SEO.
and U? Do you monitor the text ratio of your website code? Do you use it to evaluate your SEO performance?
COMMENTS