Click to See Complete Forum and Search --> : Meta tag


michelle76
10-18-2006, 06:51 PM
Hi,

I'm trying to change the description that appears in searching sites, like google and yahoo, and the website that I'm working on has those meta tags:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv=pragma content=no-cache>
<meta http-equiv=expires content='-1'>
Where to do this change? Sorry for this beginner question... Thank you!

abz
10-18-2006, 06:55 PM
<meta name="description" content="This website is the best" />

Kravvitz
10-18-2006, 07:05 PM
You want this one:
<meta name="description"
content="description of the page">
Edit: *sigh* I forgot to reload the page before replying.

abz
10-19-2006, 03:37 AM
You want this one:
<meta name="description"
content="description of the page">
Edit: *sigh* I forgot to reload the page before replying.


hehehe, dont you just hate it when that happens ;)

michelle76
10-19-2006, 10:59 AM
Thank you both of you.
Yes, I can use meta name="description", but what happens is that when I search for this site at google, for example, I find it with a description and in the html file there is no meta tag description. I don't know where to do the changes in this description...

abz
10-19-2006, 11:22 AM
if you use <meta type="description, then when google comes up, It will have that description there. Sure, other people may do it by other methods, but this is the right way to do it in HTML

michelle76
10-19-2006, 11:33 AM
Thank you, I'll do that.

Kravvitz
10-19-2006, 03:04 PM
Many search engines include the first text (up to a certain length) in the body of the page if no meta-description is found.

Sure, other people may do it by other methods, but this is the right way to do it in HTML
"The right way" is not how I would put it. It's just how to do it if you want to set it explicitly.