Meta Refresh | Redirect Code Example

Refresh / Redirect a page at Client Side in Meta code Example

We can refresh a page using Meta tag in HTML. We can also say meta redirection. This redirection will be held in client side only. This redirection is not SEO friendly Redirection. For SEO friendly Redirection we have to do Server side redirection like 301 redirection 302 Redirection. In order to perform meta redirection we have to use the meta tag between head tag. There are some examples are listed below.
Examples for Meta redirection/ Refresh

<meta http-equiv="refresh" content="5"> <!--This will do refresh the current page after 5 second -->
<meta http-equiv="refresh" content="5;url="><!--Redirect to after 5 minutes-->

<!--Redirection without any time delay -->
<meta http-equiv="refresh" content="0;url=">

Related Topic Servlet Interview Questions & Answers
RSS Feed Reader Parser in JSP
Complete List of All Meta Tags
What is Redirection and their Types
How to Create the Dynamic Folder Tree Links Navigation
HTML  SEO 2011   Privacy Policy  Terms of Service  Feedback