Hi All, I am having one confusion. Hope u all will help me in that. I am confused, does Google robots crawls the comment that we are written in code of any HTML page??? I will be very thankful if u help me in this with a nice example???
Definately not. Comments are for coders to make understanding each function easier... They have absolutely no value other than to comment the code and perhaps increase the file size a few bytes...
Check Yahoo's home page's source code. They have this comment towards the end: pbt 1209522440 Search for that with quotes in Yahoo and Google. You won't get any results. So...
The comments in any language out there has no importance apart from helping the coders get an idea of what's going on. No one in their right mind would design anything that would read through comments. Just one note, a webmaster can leave any comments he/she links there's no structure to it like in a programming language, so there's no way for the crawler to interpret it (It can't interpret it as content because it's not)
They'll crawl them - but they won't count them towards anything or pay much attention to them. However, if they suspect that a comment contains a lot of stuffed keywords, the document will likely be flagged for a human review, which can cause the entire domain to be de-listed.
Hey, Thank u all a million. Thanks siteflipper for a very nice example..... At last i got the answer from all of u guys
I think Google crawl the comment. Here is the live example. Open this page http://spicesandcurries.blogspot.com/2007/10/top-ten-tips-to-become-good-cook.html and see the two comments. Search the text written in the comments. You will get the answer.
Hey Delhiton, I was not asking for the comment posted by a person. I was asking for the comment that we are writting in the source code
they dont but I would be careful when I comment my code with something like : "hidden text from here"
Its widely speculated that comments within source code left behind by a cms or popular framework are seen as footprints by google and treated as such