Tutorials & Script Homepage
HTML/DHTML 29to35
Table Examples
Different Link Types
Changing Text with HTML
Intro to Frames
Intro to Sound
Automatic Refreshing
Meta Tags
advertisment
advertisement
advertisement
Host With Us: HostingHelper.co.uk From Only $5.00p/m
Spotted an Error ? Let us Know
100's more FREE templates at FreeWebTemplates
Looking for a new Web Host ?
Free templates from TemplatesLand
Professional High-End Templates
TemplateBox.com more FREE templates
Free Flash Templates and Intros
advertisement
 
HTML/DHTML TUTORIAL NUMBER : 35
Please Click Here, and Help Keep This Site FREE to Use
 
Please click on our sponsors advert to the right if you download or use anything from this page.
Thank you for your help.
This tutorial has been created by: Faqs.org

Meta Tags for Search Engines

When search engines such as AltaVista, Infoseek, and Webcrawler index and display information from your web page, they use two types of <META ...> tags: KEYWORDS and DESCRIPTION.

NAME allows you to sneak a few extra words into your web page for the search engine to index. For example, if your page has a big picture of a pumpkin, but does not actually have the word "pumpkin" in it, you might use this <META ...> tag:

<META NAME=KEYWORDS CONTENT="pumpkin pumpkins Halloween squash">

When someone does a search on one of these words, your page will be in the listing. KEYWORDS also increases you "score" in the search. When someone enters a search, the search engine tries to figure out which pages seem most relevent to that search, and lists those first. One of the scoring criteria is <META ...> keywords. If the search words are in the keywords, the page gets a higher score. This is a good way to increase your page's visibility a little. Unfortunately, this has led to the practice of "spamdexxing", putting many repititions of the same word in <META ...> keywords. The search engines now use special algorithms to detect spamdexxing pages and won't index those pages.

<META NAME=DESCRIPTION CONTENT="..."> designates the text to display when the search engine returns information about your page. If no description is given, the search engines usually return the the first 175 or so characters of the page, not counting the HTML tags. For example, consider a page that starts off like this:

Recycling Systems Corporation

1425 East Marina Street, San Jose, CA 77235
(513) 789-1921, info@.rsc.com

RSC is one of the leading companies in the industry, offering municipalities an array of recycling and waste disposal options unparralled by anyone else. With capabilities ranging from street collection to refuse differentiation, RSC can bring a new definition of municipal waste reduction to your home town.

If there is no <META ...> description, the search engine will display something like this (both of these examples come from Infoseek, but Alta Vista and Webcrawler are very similar):

Recycling Systems Corporation
1425 East Marina Street, San Jose, CA 77235 (513) 789-1921, info@rcs.idocs.com RSC is one of the leading companies in the industry, offering municipalities an array of recycling …

However, if you have a <META ...> description like this:

<META NAME=DESCRIPTION CONTENT="RSC is a leading recycling and waste 
management company providing creative waste handling services for 
communities across the USA.">

then the search engine returns a much cleaner description:

Recycling Systems Corporation
RSC is a leading recycling and waste management company providing creative waste handling services for communities across the USA.

Although the CONTENT attribute can technically hold up to 1024 characters (as can any attribute value), the search engines only display approximately the first 175 characters (depending on spacing) so be sure to keep your description within that limit.

Other Less Used Tags

Author

<meta name="author" content="Your name here"></meta>

Tells them who made the page. Who cares, though?


Revisit-after

<meta name="revisit-after" content="30 days"></meta>

Tells the search engine to visit your site again in 30 days. This is good if your sites description, keywords, or material changes often.


Distribution

<meta name="distribution" content="Global"></meta>

Tells the search engine that your site is meant for everyone, and that it can be distributed globally. You can also specify "local" and "IU". IU means Internal Use, which means that it's basically not meant for the public.


No-cache

This next one tells the spider to not use a cached version of your website, and instead to use the most up-to-date version by downloading the site directly. A cached copy is a virtual snapshot of your web page that is used so that it's already on the engine's server, therefore letting user's download the page faster. The disadvantage is when your page contains info that is updated often and possible has time-sensitive data, like news or recent announcements. So, if you have that kind of time sensitive data, use the "no-cache" option.

<meta http-equiv="pragma" content="no-cache"></meta>


Refreshment

Ay, mates. In order to make another page load automatically, which is helpful when redirecting your visitors to a new address, you need to use the mighty meta tag. This is how it goes:

<meta http-equiv="refresh" content="10; url=http://www.here.com/newpage.html">

The "http-equiv" part means nothing to me, but I bet it's there for a reason so don't forget to include it. Whatever it is, it equals "refresh", which is definitely the thing you are trying to do, right? Right. So let's continue. The part that says "content=10; url=http://www.here.com/newpage.html" is the part of the code that says that the page specified will load after 10 seconds.


Robot Tags

There are some other META tags, also. Check out these "robot" tags that tell search engines whether or no to index the page, and whether or not to index pages that are linked to. There are many combinations of the robot tag. *Not all search engines can handle the robot tags as of now, but I'm sure they all will soon. It can't hurt to use them.

<meta name="robots" content="index,follow"></meta>
<meta name="robots" content="noindex,follow"></meta>
<meta name="robots" content="index,nofollow"></meta>
<meta name="robots" content="noindex,nofollow"></meta>


And you can put all these together by just lining them up like so:

<meta name="keywords" content="baseball, hockey"></meta>
<meta name="expires" content="6 December 2001"></meta>
<meta name="description" content="A page about sports"></meta>
<meta name="author" content="Your name here"></meta>
etc., etc.

I hope this came in useful!
Ask in the forum if you have any suggestions or comments.

This tutorial has been created by: Faqs.org
Web Hosting  |  Membership website templates  |  Dallas Web Design  |  Text Link Adds  |  Art Web Templates  |  Cheap Flight Deals  |  Domain Name Hosting  |  Digital Camera  |  Coursework Writing  |   Youth hostels  |  Internet Marketing  |  Web Design  |  Low Cost Domain Names  |  Burial Life Insurance  |  Website templates  |  Broadband Reseller  |  Dedicated Server  |  Business Broadband  |  Professionelt webdesign firma - webbureau  |  ATX Web Design - Texas TX  |  Flash Templates  |   tablet notebook  |  Machinery moving Los Angeles  |  Flash Intros  |  Web Templates  |  epi suite software  |  Cheap Web Hosting  |  web hosting  |  Website Templates  |  Corporate Logo Design Service  |  ID card printers  |  id cards  |   Free Web Hosting  |  UK Web Hosting  |  Dating Software - aeDating 4.1  |  Flash Templates  |  Website Templates  |  Power Saver  |  Website Design Quote  |  Flash templates  |  cctv cameras  |  Web Design Manchester  |  Web Templates  |   Flash templates  |  Cheap Web Hosting Deal  |  Linux Hosting  |  Web Design uk  |  Web Hosting  |  Business web directory  |  Accept Credit Cards  |  Mobile Phone Contracts  |  Car Rental Deals  |  Free domain names  |  Business Email  |  Web Designer Delhi  |  video surveillance systems  |  

 
advertisment
advertisment
advertisment
advertisment
  Top-end templates
  Credit Cards
  Reseller web hosting UK
  free flash tutorials
  Web Hosting
  Hosting Directory
  Corporate Gifts
  Company Logos
  Christian Designs
  Website Templates
  Website Templates
  Web Hosting UK
  Free Web Templates
  Custom site design
  Domain Names
  Logo Design Pro UK
  Free Flash
  templatebox.com
  freewebtemplates.com
  templatesland.com
  topfreegraphics.com
  freegraphicland.com
  free-templates-layouts
  Ink & Toner Cartridges
  Layouts4Free
  Webmaster Resoucres
  Web Templates Factory
  Free Web Templates
  Free Templates Catalog
  Web Templates
  Reseller Web Hosting
  Stock Photography
  Animations-galore.com
  4print.com.au
  Host Review
  Web Hosting Host Color
  Dedicated Servers
  FlashTemplateDesign
  ZeroDollarTemplates
  Killersites.com
  how-to-build-websites
  Build a free website
  web Hosting
  Business Logo Design
  Templates Favpage
  webmastermind.de
  flasheasy.com
  More Featured Sites