Keyword density refers to the ratio of the total length of keyword characters to the total length of page text content. It is a standard for describing the occurrence of keywords in web pages, usually in the form of a percentage. Density calculation formula: [Total length of keyword characters/Total length of page text content characters X100%].
Keyword density is the ratio of the total length of keyword characters to the total length of page text content. It is a standard for describing the occurrence of keywords in web pages. , usually in the form of a percentage.
The following is the calculation formula for keyword density:
Keyword density = total length of keyword characters/total length of page text content characters X100 %
For example, the total text content on a page is some content (actually the content may be more, so we express it in one paragraph for ease of explanation):
"Today we watched Aizhan.com seo training video tutorial and learned the calculation method of keyword density in seo basic tutorial"
Then if we want to calculate the keyword density of seo in this page, we need to calculate the data:
Number of occurrences of Seo: 2 times
Seo character length: 3
Then:
Total length of keyword characters = number of times X length = 2x3 =6
Total length of page text content: 38 (This is not bytes, string length)
Then seo in this web page Keyword density is:
Density of keyword "seo" = total length of seo characters/total length of page text content X100%=6/38=15.8%
The above is the detailed content of What is keyword density. For more information, please follow other related articles on the PHP Chinese website!