Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,279   Yesterday: 949   Max: 2,773   Total: 530,309   Current Users : 21 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Attribute for <META ...>
HTTP-EQUIV

HTTP-EQUIV tells the browser to pretend that an additional HTTP header was sent. The name of the header is the value of the HTTP-EQUIV attribute and the value of the header is the value of the CONTENT attribute.

Was that confusing? Ok, let's start from the beginning. Whenever a web server sends a web page it also sends an additional set of information about the page called headers. The browser doesn't display these headers, it uses them internally to understand how to display the page. Here's an example of some page headers:

HTTP/1.1 200 OK
Date: Sun, 12 Aug 2001 15:54:22 GMT
Server: Apache/1.3.14 (Unix) ApacheJServ/1.1.2 Mod_dtcl 0.6.4 PHP/3.0.18
Last-Modified: Fri, 22 Jun 2001 00:28:46 GMT
ETag: "75f87-200-3b32913e"
Accept-Ranges: bytes
Content-Length: 512
Connection: close
Content-Type: text/html

The purpose of HTTP-EQUIV is to tell the browser to pretend that an additional header was sent. So, for example, if we wanted to tell the browser to act as if a header like this were sent:

Refresh: 5

we would use a tag like this:

<META HTTP-EQUIV="Refresh" CONTENT="5">

The contents of HTTP-EQUIV are case-insensitive. The most common use for HTTP-EQUIV is for redirecting. See META for Automatic Refreshing and Forwarding for more details.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2009 Broadband Media, Inc. All rights reserved.