Is CSS content property SEO friendly?

前端 未结 2 1445
心在旅途
心在旅途 2021-02-04 08:46

Is CSS content property bad from SEO point of view, do search engines really scan the words which are injected using :before and :after selectors?

2条回答
  •  执念已碎
    2021-02-04 09:06

    No, search engines do not care about what you put inside your css, js, alt tags, or even meta tags (keywords) as far as "positive" rankings go.

    They will however try to detect if you are injecting spam, settings h1's with hidden keywords to display:none, setting a white background on white text, etc.

    So ..anything not related to pure content, url & title can work against you, but never for you (some blackhats might not agree..).

提交回复
热议问题