RGB Web Tech

RGB Web Tech

Meta Tag Miscellaneous Http-Equiv

Last updated on March 1st, 2022 by RGB Web Tech

How to use Miscellaneous http-equiv Tag on your website? By using the so-called HTTP-EQUIV meta tags you can add certain values to your website.

Several varieties are possible:

<meta http-equiv="expires" content="date">

An example of meta tag meta http-equiv="expires"

Add the following meta tag in the HTML source of your page:

<meta http-equiv="expires" content="mon, 27 sep 2010 14:30:00 GMT">

The date has to be added in the RFC850 format.

An example of meta tag meta http-equiv="pragma"

Another variant is:

<meta http-equiv="pragma" content="no-cache">

This tag makes sure your page will not remain in the cache of the computer of your visitor. It's useful if the content of the page regularly changes, e.g. if you have a news page on your website.

An example of meta tag meta http-equiv="window-target"

Another variant is the so called window target:

<meta http-equiv="window-target" content="_top">

This meta tag makes sure that others are not able to show your page in a frame on their website.

An example of meta tag meta http-equiv="Set-Cookie"

Another variant is the so called set cookie:

<meta http-equiv="Set-Cookie" content="ACCOUNT=9983373; path=/; expires=Thursday, 20-May-07 00:15:00 GMT">

With this cookie-tag, you can place cookies that are only temporary or have an expiration date.( CONTENT="name=data; path=path; expires=Day, DD-MMM-YY HH:MM:SS ZON">)

An example of meta tag meta http-equiv="pics-label"

Another variant is the so called picture label:

<meta http-equiv="pics-label" content="text">

This is a specific tag that provides you the possibility to add a picture on your website, e.g. "violence", "erotic" or "for all ages". PICS = Platform for Internet Content Selection

Click here for more information about this standard

An example of meta tag meta http-equiv="refresh"

Another variant is the so called refresh value:

<meta http-equiv="refresh" content="value">

This refresh-tag will automatically redirect you to another web-page.

<meta http-equiv="refresh" content="30; ,URL=http://www.rgbwebtech.org/pages/register.php">

The number "30" is the number of seconds and pages/register.php is the page your customer will be redirected to.

Where do you add this http-equiv= tag?

You may add this http-equiv= tag to all of your web-pages, so not only in the first index page. Make sure that on every page relevant meta tags are added. Add keywords and phrases that are relevant and correspond to the text and the language on that specific page. It might be a lot of work to add specific meta tags to each page but you will notice in time that it works!

WRITTEN BY

RGB Webtech - Web Design & Development Company

We are a startup and innovative IT Company. We provide complete Web Design, Web Development, Digital Marketing and App Development solutions.

  • Facebook
  • Twitter
  • Linkedin
  • Pinterest
  • Instagram
  • Tumblr
  • Youtube