9
9
99sun662018-07-10 10:18:32
HTML
99sun66, 2018-07-10 10:18:32

Is it a mistake if the markup is html lang="ru" and all the text is in another language?

There is a site in Russian, respectively, the markup <html lang="ru">is, but there are pages with Ukrainian text. Is this considered a mistake, does it affect search engine rankings, how does the search engine feel about this in general?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2018-07-10
@99sun66

this is not correct of course. Not critical for SEO, but can be critical in other cases. For example, when displaying characters, the browser takes this parameter into account.

S
SagePtr, 2018-07-10
@SagePtr

For example, the translator built into Google Chrome sometimes relies on this parameter and offers to translate the page if the user does not have this language set in the browser settings. Some of my pages with an abundance of text and code were recognized by the author as Serbian and offered to be translated into Russian, until I set lang="ru".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question