Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

How to use Meta Tag to redirect an HTML page?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

URL redirection, also called URL forwarding is a way to send users to a different URL from the one they originally requested. The three most commonly used redirects are 301, 302, and Meta Refresh.
Meta Refresh Redirect is a client-side redirect. Unlike 301 and 302 redirects that happen on the webserver, Meta Refresh Redirect takes place in a web browser and instructs the web browser to go to a different web page after a specified time span.
The use of Meta Refresh Redirect is deprecated or in other words, disapproved by W3C(World Wide Web Consortium), since it is a non-standard procedure of redirection, it disorients users, and it can also disrupt a browser’s history of visited pages.


<meta http-equiv = "refresh" content = "20; url ="/>


<!DOCTYPE html>
    <title>Meta Refresh Redirection</title>
    <meta http-equiv="refresh" 
          content="20; url =" />
    <h1 style="text-align:center;color:green;">
    <p style="text-align:center;"
      If your browser supports Refresh,
      you'll be redirected to GeeksforGeeks 
      IDE, in 20 seconds. </p>


My Personal Notes arrow_drop_up
Last Updated : 17 Oct, 2019
Like Article
Save Article
Similar Reads
Related Tutorials