<meta>

PURPOSE: To provide information about your page. Used by search engines robots to find and list your page. The most important one is DESCRIPTION, be sure to always use it. There are lots more of them, but most are simply ignored by the robots.

TIP Although not a META tag the page title <title> tag is very important to use. It is also used by the search engine robots.

This is one of those tags that is different. There is NOT a </meta> tag. It is all incorporated into the one tag. Note there is a space after the end of the text and the /.

Below is a basic html document. The referenced html tag is in RED. All tags must have a start and a end tag. Most end tags have a / before the tags name, however there are a few that are done differently. The tags that end differently will be noted and highlighted. The order of the start and end tags is also very important to proper display of your page in a web browser.


Here are the main 4 META tags used:

Keywords - Mostly a waste of time, used by only a very few search engine robots to find information in your page. Don't rely on this one to do very much for your site listing. To use it find unique words that describe your sites content. Place a comma after each key word. Use 762 characters or less.

Description - An IMPORTANT one - used by search engines to display a description of what your site is about. Use 200 characters or less.

Robots - ONLY helpful if you DO NOT want a part of your site indexed by search engine robots. For example a private members only area. It can tell search engine robots to not index your specific page the tag is on and to not follow all the links. No need to use it for telling the robots to index your page. They will do that anyway.

http-equiv="content-type" content="text/html; charset=ISO-8859-1" - tells the browser what mime type of ASCII characters to use.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
<meta name="keywords" content="HTML, Tutorials, CSS, Tags, Examples" />
<meta name="description" content="A short description of your page here" />
<meta name="robots" content="noindex,nofollow" />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<meta name="generator" content="The program that made the html document" />
<meta name="rating" content="General" />
<meta name="author" content="The Documents Authors name" />
<meta name="copyright" content="2001, Southern Twilight" />
<meta name="language" content="English" />
<meta name="classification" content="Html Tutorial" />
<meta name="expiration" content="26 May 2001" />
<meta name="distribution" content="global" />
<meta name="revisit-after" content="30 days" />
<meta http-equiv="reply-to" content="The reply email address" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
</head>
<body>
</body>
</html>


© Copyright 2001,2002 Southern Twilight    All rights reserved.

Back To HTML Examples