Meta Tags Tutorial   
 
NAME -

description & keywords TAGSDescription & Keywords Tags
The Robot TagThe Robot Tag
point.gif (852 bytes)Author
point.gif (852 bytes)Generator
Not Related -
The Alt TagThe Alt-Tag

HTTP-EQUIV -

description & keywords TAGSExpires
description & keywords TAGSContent-Type
description & keywords TAGSRefresh
description & keywords TAGSWindow-Target
description & keywords TAGSSet-Cookie


The difference between [ NAME ] & [ HTTP-EQUIV ] -

HTTP-EQUIV tags are equivalent to http headers where the name tag on the other hand is not.

  • <META HTTP-EQUIV="name" CONTENT="content">
  • <META NAME="name" CONTENT="content">

Description & Keywords Tags - Top of Page


Search engines have spiders, which use the words designated by the TITLE tag and a few paragraphs of your document to help people find you. You can see that this is not the best way to represent yourself on the web because your site may be based on much that is not in those few paragraphs. That's where the meta-tags come into use. With these tags you can tell people exactly what you're all about and designate keywords for your site.

This is how you do it -
Somewhere between <head> and </head> in your
HTML file,
Insert this code -
<META name="description" content=" ** ">
Where you see ** type the description of your page.
<META name="keywords" content=" ## ">
Where you see ## type the type the keywords
(Separated by commas) that will lead people
to your site.

Example -
<Title>Old Cars</title>
<META name="description"content="We specialize in cars">
<META name="keywords"content=" car,auto,engine ">

It will appear like so in the index:

Old Cars
We specialize in cars
-http://www.oldcars.com

TIP: For descriptions some search engines only consider about 50 words and others up to 1024(which is a lot!) so make sure to cram the most important stuff in those first 50 words or so.

The Robot Tag - Top of Page


The robot tag allows you to give the spiders or robots instrustions. There are 2 things you can specify:

Either - [INDEX or NOINDEX] and [FOLLOW or NOFOLLOW]

[INDEX,NOINDEX] -
This will tell the robot whether you want this page indexed or not.
[FOLLOW,NOFOLLOW] -
This will tell the robot that either you want it to follow the links and index the pages on the other end or that you want it to stop at that page.

Example -
<META name="robots" content="noindex,nofollow">

The Alt-Tag - Top of Page

 

The alt-tag is very easy to implement into an image.
Instead of having the line
<IMG SRC = "pic.gif">
Do this:
<IMG SRC = "pic.gif" ALT="this is a picture of a house">
Not only will this help your ranking in search engines but it will also display the text before a picture is displayed.

The Author Tag - Top of Page

USE -
 
<META NAME="author" content="John Doe">

Specifies the author of the page

The Generator Tag - Top of Page

USE -
<META NAME="generator" content="Microsoft FrontPage 3.0">

Specifies the tool used to create the web page.


HTTP-EQUIV TAGS


The Expires Tag - Top of Page

USE -
<META HTTP-EQUIV="expires" CONTENT="Wed, 24 Feb 1999 04:14:48 GMT">

Specifies the time and date when a page has expired. Netscape uses this tag to determine weather the page can be reloaded form disk or requested for the network.

Content-Type - Top of Page

USE -
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-2022-JP">

Specifies the character set used by the web page.

Refresh - Top of Page

USE -
<META HTTP-EQUIV="Refresh" CONTENT="3;URL=http://www.psacake.com">

Refreshes or loads a page specified by URL= After # of seconds.

Tip : This can be used when one of your pages has moved to a different location. In that case just place this tag in the header for 0 seconds and it will be as if you never moved your page. Keep in mind that not all browsers support this feature so just in case put a link on the page also.

Window-Target - Top of Page

USE -
<META HTTP-EQUIV="Window-target" CONTENT="_top">

Specifies a target window.
Options -
Same Frame  -_self
Whole Page    -_top
New Window  -_blank
Parent Frame-_parent

Set-Cookie - Top of Page

USE -
<META HTTP-EQUIV="Set-Cookie" CONTENT="cookievalue=xxx;expires=Friday, 31-Dec-99 23:59:59 GMT; path=/">
Sets a "cookie" in Netscape Navigator.

 
My3C's
perrychicker
It's easy... it's a PSACAKE!
Back | Tell A Friend | Search this Site
1998 - 2014 psacake.com
Version 3.23

Send me One Million FREE Guaranteed Visitors