Comments were traditionally put on a page by the web designer as a note to himself, or someone else.
Like images, comments are for non-visual text browsers - which as you know by now includes our friends the search spiders.
Note that you will often see non-visual text in search results. This is because the spider regards ALL text, visible or not, as page information.
Think about what this means... more opportunities to describe to the spider what is going on.
HTML comments start with <!-- and end with -->
Anything inside these tags does not get shown to human visitors.
<html>
<head>
<title>Green Widgets</title>
<META name="description" content="Green Widgets for sale from Wonderful-Widgets.com,
your no.1
resource for green widgets!">
<META name="keywords" content="green widgets, widgets for sale">
</head>
<body>
<!-- start the body text here -->
<H1>Green Widgets</H1>
<p>Green widgets first made an appearance in 1920, when the first green widget was
discovered by Sir Randolf Widget III. </p>
<!-- end the body text here -->
</body>
</html>
If spiders are reading and indexing our comments along with the other page content, we need to put our keywords inside them to help the search engine work out what our page is about.
Try different things. Some people report having success by placing a comment as the first thing the spider will get, even before the first HTML, like this:
<!-- green widget page-->
<html>
<head>
<title>Green Widgets</title>
<META name="description" content="Green Widgets for sale from Wonderful-Widgets.com,
your no.1
resource for green widgets!">
<META name="keywords" content="green widgets, widgets for sale">
</head>
<body>
<!-- summary : page about green widgets, can also buy green widgets -->
<H1>Green Widgets</H1>
<p>Green widgets first made an appearance in 1920, when the first green widget was
discovered by Sir Randolf Widget III. </p>
</body>
</html>
The spider "eats" comments like ordinary page text, although it knows it is a comment so gives it slightly less priority. So again use your page keywords in comments.
But don't be surprised if you see your comment content in the search results, like this:

![]()
Do...
|
|
Don't...
|
|
[ sitemap ] Seo Book © 2008 - 2009
|