The META element can be used to enhance indexing information, which includes name/value pairs describing properties of the document, such as author, expiry date, a list of key words etc.
The LANG attribute specifies the language to be specified. If LANG is not included, it will be assumed the document is written in en-US (English - United States).
<META LANG="de"> <!-- German -->
<META LANG="en-UK"> <!-- English - United Kingdom -->
<META LANG="en-US"> <!-- English - United States -->
<META LANG="es"> <!-- Spanish -->
<META LANG="fr"> <!-- French -->
<META LANG="jp"> <!-- Japanese -->
The NAME attribute specifies the property name while the CONTENT attribute specifies the property value. Many search engines only keep track of 1,000 description characters, and 7 keywords.
<META NAME="author" CONTENT="Jay Deuel">
<META NAME="description" CONTENT="This is an example HTML document.">
<META NAME="keywords" CONTENT="LDS Business College, CIT 150, Homework 3">
<META NAME="copyright" CONTENT="This document is copyrighted, 1998, by Jay Deuel">
<META NAME=robots CONTENT="noindex">
<META NAME=robots CONTENT="nofollow">
The HTTP-EQUIV attribute can be used in place of the NAME attribute and has a special significance when documents are retrieved via the Hypertext Transfer Protocol (HTTP). HTTP servers may use the property name specified by the HTTP-EQUIV attribute to create an RFC 822 style header in the HTTP response. This can't be used to set certain HTTP headers though, see the HTTP specification for details.
<META HTTP-EQUIV="keywords" CONTENT="LDS Business College, CIT 150, Homework 3">
<META HTTP-EQUIV="expires" CONTENT="Fri, 12 Oct 1998 12:55:00 GMT">
<META HTTP-EQUIV="refresh" CONTENT="1; URL=noise.mid">
<META HTTP-EQUIV="refresh" CONTENT="1; URL=newindex.html">
<META HTTP-EQUIV="reply-to" CONTENT="nor@synapse.net">
| Go To: | CIT 150 Course Syllabus |
| Page Modified: | October 5, 1998 |
| Send Comments: | jay@cc.utah.edu |