advertisement
Almost every site serious about search engine positioning includes meta-tags
into the head section of their site. There is much more to interacting with
search engines however than just including a title, keywords and description
tags for the pages that Web surfers are visiting- you also should provide
supporting documentation about the Web page. This is done through the http-equiv
tag.
The HTTP-EQUIV attribute can be used in place of the NAME attribute and has a
special significance when documents are retrieved via the Hypertext Transfer
Protocol (HTTP). META tags with an HTTP-EQUIV attribute are bound to HTTP
headers. Typically, they control the action of browsers, and may be used to
refine the information provided by the actual headers.
For example, take a look at the index page of
WebsiteServices.com. You will see
the http-equiv attribute included as follows:
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
The http-equiv tag can also be used to express when content expires, to set the
client side scripting language forinline scripts to Javascript, to set the style
language for inline styles to CSS or set character encodeing.:
Expiration - <meta http-equiv="Expires" content="Monday,
21 Mar 2006, 12:00:00 GMT -6">
Javascript - <META HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript">
Style Lang. - <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
One of the most common uses of the equiv attribute is for refreshing a page or
redirecting a visitor to another page. The <META http-equiv refresh> is very
useful when you need to move or rename a page on your site. Since search engines
may already have your page in their index, it is wise to include a redirect page
to not lose those visitors. Some SEO experts argue that it is better to set up a
permanent redirect on your site but if you are in a hurry, this is a quick and
easy way to get it done (just include it in the head section of your HTML):
<META HTTP-EQUIV="refresh"
content="1;URL=http://www.websitemagazine.com">
Let's Go 2.0!
Bookmark or submit to:
Technorati Tags:
http, html, seo