Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


<META>

The <META> Tag is used to embed information not contained in other HTML Tags or elements, for example to identify, index, and catalog documents. There are two main commands, MAIN and HTTP-EQUIV. The <META> Tag goes between the <HEAD> Tag and usually after the <TITLE> Tag:

htmlcode.gif (606 bytes)
<head>
<title></title>
<meta>
</head>

One use of the <META> Tag is to reload or redirect an HTML Page. This is an example of a Client Pull.

htmlcode.gif (606 bytes)
<META HTTP-EQUIV="Refresh" CONTENT="60">

The CONTENT is in seconds and in this case would reload the page after 1 minute.

If you add a ; URL=http://www.quadzilla.com, it would automatically go to another URL after 5 seconds. I'm sure you seen "This page has moved, automatically sending you there" pages, this is how it's done.

htmlcode.gif (606 bytes)
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.quadzilla.com">

You might want to include information about the document, such as keywords for indexing, the name of the author, and so on. This can be done with the NAME followed by CONTENT:

htmlcode.gif (606 bytes)
<META NAME="author" CONTENT="D.J. Quad">
<META NAME="keywords" CONTENT="html reference, guide, help, tags, web">
<META NAME="editor" CONTENT="Notepad">

The attribute NAME refers to user-selected names, while HTTP-EQUIV means that the value has a real equivalent header in the HTTP protocol. Again, this is only really useful given tools for processing these data. At present, there are quite a few search engines and other tools that take advantage of <META>.



Up to => Home / Quadzilla / Tag_Ref




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers