<HEAD> and </HEAD>

Description:

The <HEAD> tag is used to enclose other tags which define the characteristics of an HTML page.

The tags which may be included between the <HEAD> and </HEAD> tags are:

Attributes:

dir=direction
Indicates the language of the text in the header.
lang="lang"
Indicates the language of the text within the document header.
profile=URL
"URL" is the url of a file containing Metatags or Meta data.

Examples:

<HEAD>
<TITLE>HTML Reference</TITLE>
</HEAD>

A simple example of a header which defines the title of a document.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="PICS-Label" content='(PICS-1.1 
  "http://www.rsac.org/ratingsv01.html" l gen false comment 
  "RSACi North America Server" for "http://internet-tips.net" on 
  "2000.03.14T23:37-0800" r (n 0 s 0 v 0 l 0))'>
<meta http-equiv="PICS-Label" content='(PICS-1.1 
  "http://www.classify.org/safesurf/" l r (SS~~000 1))'>
<meta name="author" content="Richard G. Lowe, Jr.">
<meta name="copyright" content="Copyright © 1999-2001 Richard Lowe 
  and Claudia Arevalo-Lowe, All Rights Reserved">
<meta name="description" content="HTML tag reference guide">
<meta name="distribution" content="GLOBAL">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="keywords" content="HTML tag reference guide">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="rating" content="GENERAL">
<meta name="resource-type" content="document">
<meta name="revisit-after" content="20 Days">
<meta name="ROBOTS" content="ALL">
<title>HTML tag reference guide</title>
<link rel="stylesheet" type="text/css" href="http://www.internet-tips.net/common.css">
<script src="http://count.exitexchange.com/js/1153093" 
  language="JavaScript1.1"></script>
<meta name="Microsoft Border" content="tb, default">
</head>

A much more complicated example demonstrating the true power of the <HEAD> tag.

Tips:

  1. At the very least, you should define the <TITLE> of your document. This defines your title for search engines and for the browser.

  2. You should also use a couple of Metatags, including "description" and "keywords" to further define your page for search engines.