Answer the question
In order to leave comments, you need to log in
How do search engines treat collapsed text?
On the pages, large chunks of text are folded. For example, in an article, the problem is first formulated, then comes the hint, then the solution. Like this: elementy.ru . When you click on a link, the text expands. Initially, in the html code, all collapsed divs are expanded, and after the download is complete, a script is triggered that changes the style of these divs to display:none. That is, if js is disabled, then the text will not be collapsed.
Will collapsed text be indexed? Will the bots think it's a scam?
Answer the question
In order to leave comments, you need to log in
It was a long time ago, I haven't checked now. Yandex in the page saved in the cache showed the spoiler as well as on the current, that is, online page. At the same time, it highlights search phrases. And when he found them in the spoiler, he showed with a rectangle the area where to click to open the spoiler. Moreover, this was back in 2010-2012. So don't worry, PS see much more than you imagine. Especially if you help them by placing all sorts of metrics and analytics on the page.
Post content the same as if it were not collapsed. Then no sanctions will be applied to you. No one is against even if the text is tightly optimized for specific keywords, but the text must be well-constructed and without errors.
And if there is only content for robots under the spoiler, then the PS will ignore it. And along with spoilers, filtering will ignore not only the content in spoilers...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question