How to redirect or refresh a page after specific time

Share the love!
How to redirect or refresh a page after specific time

Hello Friends, Today we are going to see how can we redirect or refresh our page with delay if u are a regular reader of my blog you know that my last post was about how to Customize input type file with css.Coming back to the topic so for both conditions (redirect or refresh) we are going to use a meta tag which u have to insert in your </head> section

Lets have a look

Redirecting to Another page

<!-- Replace 10 to make changes in delay time replace example.com to where you want it to be redirected -->
<meta http-equiv="refresh" content="5;url=http://example.com/" />

Refreshing same page after Delay

<!-- Replace 10 to make changes in delay time -->
<meta http-equiv="refresh" content="10" />

Comment with-

Disqus Blogger Google Facebook

0 comments:

Post a Comment

Comments :