In projects, we often encounter a function like this: how to automatically jump after N seconds on the page. In fact, the method is very simple. The following article will share with you three common methods of automatically jumping in HTML pages after 3 seconds. Friends who are interested in the relevant knowledge of automatically jumping in HTML pages after 3 seconds will learn together.
During practice, we often encounter a problem, how to automatically jump after N seconds on the page?
I encountered problems and searched for information myself, and summarized 3 methods
Method 1:
The simplest one: add code directly into the previous <head>:
Copy the code