Google SEO and hidden elements

后端 未结 6 2285
-上瘾入骨i
-上瘾入骨i 2020-11-29 08:41

Will google ignore words that are inside the elements that are set to \"display: none\" in css?

Example:

6条回答
  •  没有蜡笔的小新
    2020-11-29 08:48

    If you hide your menu with javascript the search engines will likely not be able to follow the links. I have used dislay:none to hide chunks of navigation which I don't want to appear on certain areas of a website. There are a some CMS sytsems build to show navigation this way and if Google banned all sites built with those CMS systems then it might not be providing the most relevant results.

    If you are using it to hide text just for seo purposes stay away from that. It is likely the search engines will not pick it up but if they do - for example if a competitor flags it to Google - and you are using it to hid spammy text then be prepared for the consequences.

提交回复
热议问题