Google Parses img Elements Even When Enclosed Within Other Elements

Jan 24, 2023 - 7:41 am 0 — by

Google Image code

Google has also updated the image SEO best practices document to clarify that Google will parses img elements even when they're enclosed in other elements such as picture elements when indexing images.

Previously, the line read, "Google parses the HTML of your pages to index images, but doesn't index CSS images."

Now, the line reads, "Using semantic HTML markup helps crawlers find and process images. Google parses the HTML img elements (even when they're enclosed in other elements such as picture elements) in your pages to index images, but doesn't index CSS images."

Here is the before and after screenshots (before on right, after on left):

click for full size

On another note, Google also updated the alt text and filenames in the examples to be more descriptive.

Forum discussion at Twitter.

 

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

Search Forum Recap

Daily Search Forum Recap: October 23, 2026

Oct 23, 2026 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google Search Chatter, PHP Exploit, AI SEO Worthwhile, Google Local, Google Ads, ChatGPT Ads & More

Oct 23, 2026 - 8:01 am
Google

Google AI Overview Citation Cards With AI-Generated Summary Snippets

Oct 23, 2026 - 7:51 am
Google Search Engine Optimization

JPEG XL Image Format Not Supported By Google Images & Google Discover

Oct 23, 2026 - 7:41 am
Google Maps

Google Business Profiles Tests New Advanced Performance Reports

Oct 23, 2026 - 7:31 am
Google

Google Universal Cart In Search Is Live, Yep

Oct 23, 2026 - 7:21 am
Previous Story: Google To Sunset Google Optimize On September 30, 2023