|
Meta
<META NAME=XXX CONTENT=XXX> </META> The META command is used to give meta-related information about your document, but can also be used to give specific headers for the document. You can use either HTTP-EQUIV or NAME to name the meta-information, and CONTENT must be used in either case. When using HTTP-EQUIV, a server will use the name given as a header, with the specified CONTENT as the value. Example:
<META HTTP-EQUIV="Expires" CONTENT="Fri, 10 July 1998 15:45:02 GMT"> In the above the first string gives the date that the document will expire, the second gives keywords for the document, and the third has the e-mail address of the creator of the document. The server will then give the following when the document is requested:
Expires: Fri, 10 July 1998 15:45:02 GMT There are several other uses for this command, some of them follow:
<META NAME="generator" CONTENT="Program name">
<META NAME="author" CONTENT="Me">
<META NAME="keywords" CONTENT="keyword keyword keyword">
<META NAME="description" CONTENT="This page contains ........">
<META HTTP-EQUIV="refresh" CONTENT="x; URL=http://whatever.com/">
<META HTTP-EQUIV="expires" CONTENT="Tue, 1 Aug 2012 1:00:00 GMT">
|