Does Google Index Uncommented Lines in HTML?

1 replies
  • SEO
  • |
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?
#google #html #index #lines #uncommented
  • Profile picture of the author yukon
    Banned
    Originally Posted by felixcohen View Post

    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?


    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.
    {{ DiscussionBoard.errors[10748540].message }}

Trending Topics