<meta http-equiv="Refresh" content="">

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

This META element sets the automatic forwarding of the page.

The META element is placed inside the HEAD element.


<meta http-equiv="Refresh" content="10; URL=http://www.example.com/">

Attribute Value Explanation
http-equiv=" " Refresh -
content=" " seconds and URL the number of seconds and URL for the forwarding

<meta http-equiv="Refresh" content="Seconds; URL=target URL">

Example pagenew window
Return to here by passing the two pages.

Example


<html>
<head>
<meta http-equiv="Refresh" content="10; URL=http://www.example.com/">
<title>TAG index</title>
</head>
<body>

<h1>Sorry, this page has moved.</h1>

<p>Your browser will be automatically forwarded to the new home page in a 10 seconds.</p>

<p><a href="http://www.example.com/">http://www.example.com/</a></p>

</body>
</html>