How to redirect a website after a specified amount of time with HTML?

Spread the love

Sometimes, we want to redirect a website after a specified amount of time with HTML.

In this article, we’ll look at how to redirect a website after a specified amount of time with HTML.

How to redirect a website after a specified amount of time with HTML?

To redirect a website after a specified amount of time with HTML, we use a meta tag.

For instance, we write

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

to add a meta tag that redirects to http://www.example.com/ after 3 seconds.

Conclusion

To redirect a website after a specified amount of time with HTML, we use a meta tag.

Leave a Reply

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