Forum Moderators: open
Comments are typically used to provide instructions for various sections in your html coding. They are an aid to assist multiple developers in traversing through others code.
Please do not believe everything you read out there when it comes to the <!-- Comments --> tag. Most of it is a myth and if a professional is looking at your html, they might think you are an amateur, definitely would not want that to happen.
Yes, I know, you probably see a lot of sites out there using this technique. It does not work. It has no bearing whatsoever in regards to search engine optimization. Typically whenever you see a keywords stuffed <!-- Comments --> tag, there are other offenses visible.
[edited by: pageoneresults at 11:20 pm (utc) on May 15, 2003]
On SGML and HTML - 3.2.4 Comments [w3.org]
That's why text at the top of the page is important... That's why bolded text is important... That's why the engines have dropped the meta keywords tag... That's why they don't like hidden text.
It's too easy to cheat and misrepresent the content of a page with text that isn't visible or prominent.
A general principle to keep in mind is that search engines give more weight to text that is visually prominent than to text that is obscure.
Actually that statement needs clarification as it's not a "greater than" proposition. The comment tag has no worth at all, zero, for ranking.
Welcome to Webmasterworld! Do stick around!
The comment tag has no worth at all, zero, for ranking.
I fully agree. Take a look at this thread, among others, for some extended discussion on the subject.
[webmasterworld.com...]
facehugger - Welcome to the forums. You can find answers to a lot of your questions via site search (in the links up at the top of each page) or in Google (search within webmasterworld.com).
Just yesterday I had a client tell me that one of their staff suggested we put their company name in comment tags on every page. My first reaction was that this was an out-of-date practice, but since I don't know everything I decided to look into it anyway. From what I read here and in the other thread I think I will discourage this use of the comment tag.
As usual folks, great information. I hope to be able to contribute a bit myself in the future.