24. September 2009 20:52
Within the header section of an HTML document, there is another tag people use to provide information about the content of their webpage. Within the page header, you can use a series of tags called Meta tags. The information in Meta tags is used for various events. When you bookmark a webpage, the description it gives you in the bookmark is from a Meta tag. They are further used in browsers to describe the content of the page, they can tell the browser how to display the page, and they can be used for page redirection.
The big use of Meta tags has been in Search Engine Optimization (SEO).When a search engine displays your page in its results, your page’s Meta description will be shown to the user. If there is no Meta description, the user will just see the first words off of your webpage. The keywords tag is also used to describe the content of a webpage, by listing a series of words that are relevant to the topics in the page. At one time many search engines ranked pages by their Meta description and keywords, which is how it was ideally meant to be used. But because of rampant spammers, search engines had to alter their algorithms and base page rankings off other additional factors
The basic code would look like this:
<head>
<meta name="description" content="This is our page on Web Design" />
<meta name="keywords" content="Web Design HTML, Computers" />
<meta name="author" content="Joe Block" />
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
</head>
To use a Meta tag to redirect a page to a new page address
<META http-equiv="REFRESH" content="5; url= http://www.webdesignblog.us/">
f6ff4b3c-c975-4613-b269-bbe6fe101346|0|.0