Google Search Does Not Understand Content Within HTML Comments

Jan 25, 2024 - 7:41 am 6 by

Google Robot Big Glasses

Google does not read or use the content within your HTML comments for Google Search or ranking purposes. Google's John Mueller confirmed this once again saying, "Googlebot doesn't understand your HTML comments."

John said this on Reddit after he was asked about putting content in the HTML comments so that Google can read that content, since the website was lacking content in general.

Here was the question:

Hey, hello everyone! There is an idea and I need your opinion. I will come in from afar, on my site text recognition from a picture works (that is, the user sees a picture on the site and text from the picture below it), and it does not always recognize everything correctly. The idea arose to write an HTML comment to the Google bot before the text, something like "the text that was recognized in such tool and such a way, do not judge strictly" xD, this is just an example. In general, this comment can be written in different ways, I am curious about the possible downsides in this situation.

It goes back to Google saying that you should put content on your pages, not just in your images.

John Mueller replied:

That's a bold plan, but no. Googlebot doesn't understand your HTML comments. You wouldn't believe what people have put into HTML comments. Oh my.

This is not new, we covered that Google ignores links in HTML comments a few years ago.

Forum discussion at Reddit.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Volatility, Helpful Content Update Gone, Dangerous Search Results & Ads Confusion - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: April 12, 2024

Apr 12, 2024 - 4:00 pm
Search Video Recaps

Search News Buzz Video Recap: Google Core Update Volatility, Helpful Content Update Gone, Dangerous Google Search Results & Google Ads Confusion

Apr 12, 2024 - 8:01 am
Google Search Engine Optimization

Google: Indexing & Algorithm Updates Are Independent

Apr 12, 2024 - 7:51 am
Google Search Engine Optimization

Google Structured Data Carousels Beta Docs Clarifies Feature Availability & Markup Location

Apr 12, 2024 - 7:41 am
Google

Google: Ranking In Shopping, Images & Other Verticals Doesn't Hurt Your Web Rankings

Apr 12, 2024 - 7:31 am
Google

Google Knowledge Panels - Mentioned People

Apr 12, 2024 - 7:21 am
Previous Story: Google Testing New Local Business Profile Designs With Icons