Google On CSS .Class Selector

Apr 21, 2022 • 7:11 am | comments (2) by | Filed Under Google Search Engine Optimization

Google Colors Ranking

Google's John Mueller was asked if Google "looks at "CSS .Class" to comprehend the structure of a page; or a section of content that clarifies its SERP Features." John responded on Twitter saying "not that I'm aware of."

The .class selector selects elements with a specific class attribute. To select elements with a specific class, write a period (.) character, followed by the name of the class. You can also specify that only specific HTML elements should be affected by a class. To do this, start with the element name, then write the period (.) character, followed by the name of the class.

So no, Google does not use the CSS .class selector for this purpose. Google does render your page, knows the layout based on the rendering and make visually understand the structure of the page that way but not by simply looking at your CSS.

Here are those tweets:

Forum discussion at Twitter.

Previous story: Daily Search Forum Recap: April 20, 2022
Ninja Banner
blog comments powered by Disqus