Google does not use DIV images for image search

On Twitter, Google’s John Mueller said that Google probably won’t index images that are linked in DIV tags for image search. An example of such an image is:

<div src=”my-image.jpg”>

This can work in web browsers if the website contains JavaScript that parses that format. However, it’s not likely that Google will pick the image up for image search:

Earlier this year, John Mueller said in a video that Google does not index CSS background images. This is similar to another Google statement that Google only indexes regular href links. JavaScript links are ignored by Google.

Of course, Google will index images that are in regular IMG tags within DIV tags.

Find out what search engines see on your web pages

If you want to find out what search engines see on your web pages when their indexing bots visit your website, check your website with the website audit tool in SEOprofiler. You can create a free account here:

Check your pages

Johannes Selbach

Johannes Selbach is the CEO of SEOprofiler. He blogs about search engine optimization and website marketing topics at "http://blog.seoprofiler.com".