Google Image Search Does Not Index Images From CSS

Jan 12, 2018 - 7:56 am 5 — by

Google Css Images

Google's John Mueller said this morning in a webmaster hangout at the 20:55 mark that Google Image search does not index and rank images from CSS background code. He said if you want your images to rank in Google Image search then you best use normal image tag with the source attribute pointing at the image.

So do not use this:

Css Image Code

Instead use this:

Image Code

Here is what John said:

Which image placement is better using the image tag or using CSS kind of background image?

So from our point of view for image search we would use the image tag with the source attribute pointing at the image.

And as far as I know we don't use CSS images at all for image search.

So for normal web search it doesn't matter, you can use whatever works best for you. If you want to have these images indexed in image search then I would definitely use a normal image tag for that.

Here is the video embed:

Forum discussion at YouTube.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Search Engine Optimization

Google On How Links Are Selected & Shown In AI Overviews & AI Mode

Nov 24, 2026 - 4:41 pm
Google Search Engine Optimization

New Google Search Ranking Hub, Ranking Principles, Feedback & AI Training Control

Nov 24, 2026 - 11:10 am
Google Updates

Google December 2026 Core Update Preannounced - Complex Queries & Personalization

Nov 24, 2026 - 10:20 am
Search Forum Recap

Daily Search Forum Recap: November 24, 2026

Nov 24, 2026 - 10:00 am
Google Updates

Google November 2026 Core Update Has Completed Rolling Out - What Happened?

Nov 24, 2026 - 9:10 am
Bing Search

Bing AI Generated Answer - Different From AI Overviews/Copilot Search

Nov 24, 2026 - 7:51 am
Previous Story: Is Your Site Still Not Listed In Google News After Bug?