HTML : Simplest way to refresh the page in X seconds

The redirects to the provided URL in 5 seconds. Set to 0 for an immediate redirect.

<meta http-equiv=”refresh” content=”5;url=http://example.com/” />

This is super easy, you just have to put this meta tag inside head tag of your html pa…


This content originally appeared on DEV Community and was authored by Rajesh Kumar Yadav

The redirects to the provided URL in 5 seconds. Set to 0 for an immediate redirect.

<meta http-equiv="refresh" content="5;url=http://example.com/" />

This is super easy, you just have to put this meta tag inside head tag of your html page.

Read more

Buy Me A Coffee

With all that being said, I highly recommend you keep learning!

Thank you for reading this article. Please feel free to connect with me on LinkedIn and Twitter.


This content originally appeared on DEV Community and was authored by Rajesh Kumar Yadav


Print Share Comment Cite Upload Translate Updates
APA

Rajesh Kumar Yadav | Sciencx (2021-05-28T02:50:49+00:00) HTML : Simplest way to refresh the page in X seconds. Retrieved from https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/

MLA
" » HTML : Simplest way to refresh the page in X seconds." Rajesh Kumar Yadav | Sciencx - Friday May 28, 2021, https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/
HARVARD
Rajesh Kumar Yadav | Sciencx Friday May 28, 2021 » HTML : Simplest way to refresh the page in X seconds., viewed ,<https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/>
VANCOUVER
Rajesh Kumar Yadav | Sciencx - » HTML : Simplest way to refresh the page in X seconds. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/
CHICAGO
" » HTML : Simplest way to refresh the page in X seconds." Rajesh Kumar Yadav | Sciencx - Accessed . https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/
IEEE
" » HTML : Simplest way to refresh the page in X seconds." Rajesh Kumar Yadav | Sciencx [Online]. Available: https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/. [Accessed: ]
rf:citation
» HTML : Simplest way to refresh the page in X seconds | Rajesh Kumar Yadav | Sciencx | https://www.scien.cx/2021/05/28/html-simplest-way-to-refresh-the-page-in-x-seconds/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.