Friday 11 July 2008

Refresh META tag

A Refresh META tells the browser to refresh or redirect after a certain interval.

These examples show how to refresh the current content after 5 seconds, redirect to another URL after 5 seconds and redirect to another URL immediately respectively:

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

<META HTTP-EQUIV="REFRESH" CONTENT="5;url=http://andrewgunn.blogspot.com/">

<META HTTP-EQUIV="REFRESH" CONTENT="0;url=http://andrewgunn.blogspot.com/">

No comments: