Redirect to another page without JS.

 

If you want to redirect the user after 10 seconds to another page or want to refresh the page you can add a meta tag with attributes to do this. No JS or any other script is required for this.

<meta http-equiv="refresh" content="10;url=http://www.google.com/" />

 

Above code will redirect user to www.google.com after 10 seconds.

 

 

Written by Ranjeet Jha

Ranjeet Jha

Hey there! My name is Ranjeet. I’m a Web Designer & Front-end Developer. I design, code, build & promote all things HTML5, CSS3, JavaScript & jQuery. In this blog you will find solutions of day to day problems faced by you.. Enjoy Coding..

Leave a Reply

Your email address will not be published. Required fields are marked *