Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

http-equiv VS name tags

Status
Not open for further replies.

rincewind44

Programmer
May 21, 2003
33
0
0
IE
Hi,
Is there any advantages/disadvantages to using either http-equiv over name meta tags or vice versa?
Thanks.
 
They have totally different uses.
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=iso-8859-1&quot; />
Sets the type of text to be used in the webpage.
<meta name=&quot;description&quot; content=&quot;My Site: Homepage&quot; />
and
<meta name=&quot;keywords&quot; content=&quot;my site, homepage, my site homepage&quot; />
Tells the search engine the description and keywords that you gave your page. Something to remember, though, is that although some of the smaller search engines rely heavily on the keywords and description, Google and the other big ones ignore them.

In the end, then, the http-equiv you need just so your page will display correctly and pass W3's html validity test. It doesn't affect search engines as far as I know (and even if it did, I can't imagine it being a difference that will be noticeable). The description and keywords meta tags do affect some search engines and should be used, even if it's just for those, but they're largely ignored by the big search engines.

Rick

-----------------------------------------------------------
RISTMO Designs
Arab Church
 
Is it not possible to use <meta http-equiv=&quot;description&quot; content=&quot;relevant description&quot;> and the keyword equivalent also.
That was the comparison that I was referring to. Thanks for the validation info though.
 
so just to be clear there is no difference in <meta http-equiv=&quot;description&quot; content=&quot;relevant description&quot;> or
<meta name=&quot;description&quot; content=&quot;relevant description&quot;>
and the keyword equivalents?
Thanks
 
I've NEVER heard of <meta http-equiv=&quot;description&quot; content=&quot;relevant description&quot;>. It's always <meta name=&quot;description&quot; content=&quot;relevant description&quot;>. I'm almost positive that the first one is not possible. Just use the second form for all your info except, of course, this one tag (which sets the character type): <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=iso-8859-1&quot; />

Rick

-----------------------------------------------------------
RISTMO Designs
Arab Church
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top