The Purpose of This Page is to:
- Demonstrate the Meta Tag
Here are the Meta Tags used on this page.
<META NAME="description" CONTENT="Short tutorial on the use of meta tags">
<META NAME="keywords" CONTENT="meta,tags,html,tutorial">
Allows the next page to load prior to going there.
It's also kind of fun
What does a meta tag look like?
You should insert the meta tag element at the top of your document, just after the <TITLE> element. It follows the usual form of tags, ie
<META name="something"content="something else">
but note that you don't have to have a </META> at the end of the tag, the way that you do with something like <BOLD>
bold </BOLD>. However, make sure that each tag does not include any line breaks, since some search engines get a little bit tetchy about this.
What can I include in a meta tag?
There are basically four major meta tags that you can use:
- <META name="resource-type"
- The only resource type that is currently in use is "document" This is the only tag that you need to put in for indexing purposes, but use of the others is a good idea.
- <META name="description"
content="a description of your page">
- Depending on the search engine, this will be
displayed along with the title of your page in an index. "content" could be a word, sentence or even paragraph to describe your page. Keep this reasonably short, concise and to the point. However, don't be so mean with your description that its not an appropriate reflection of the
- <META name="keywords"
content="a, list, of, keywords">
- Choose whatever keywords you think are
appropriate, seperated by commas. Remember to
include synoyms, americanisms and so on. So, if you had a page on cars, you might want to include keywords such as car, cars, vehicles, automobiles and so on.
- <META name="distribution"
content="one of several">
- Content should contain either global, local or iu (for Internal Use). To be perfectly honest, I can't quite get my head around this one; its
supposed to list available resources designed to
allow the use to find things easily, but I still
don't quite get it. My advice is to stick to
there optional tags?
Yup, theres a whole
bunch of 'em. Here is the most commonly used
- <META HTTP-EQUIV="refresh"
content="0; url=url that is being
- This can be used in the HEAD section of a page that is redirected to the specified url. The figure after content is the time in seconds that the browser waits before moving on.