Does Google Index Uncommented Lines in HTML?

by 1 replies
1
If I want to ucomment a piece of content in my blog post like this:

<!--This is uncommented text-->

Will Google still see and index it?
#search engine optimization #google #html #index #lines #uncommented
  • Banned


    If you remove the comment tags it's just going to be plain text that will show up on the live webpage. Yes, Google will index plain text even If it's not properly formatted with HTML (ex: <p>This is uncommented text</p>).

    Google also indexes the comment (ex: <!--This is uncommented text-->), you can prove that by viewing the HTML source code of a Google cache for a webpage.
    • [ 1 ] Thanks

Next Topics on Trending Feed