How to realize Web Page Jump with HTML
This article editor for everyone to introduce in detail "HTML how to achieve web page jump", the content is detailed, the steps are clear, the details are handled properly, I hope this "HTML how to achieve web page jump" article can help you solve your doubts, following the editor's ideas slowly in-depth, let's learn new knowledge.
Method 1: meta tag
Use meta tags to redirect web pages. You can set the jump response time. The following example is to jump to a specified URL after 3 seconds.
Method 2: JavaScript setting Jump
There are two ways to set the jump in JavaScript, one is to jump directly, the other is to set the time to jump. The code is as follows:
/ / Direct jump _ window.location.href=' https://www.yisu.com/';// timing jump setTimeout ("_ javascript:location.href=' https://www.yisu.com/'",5000); method 3: onclick set jump
If you want to set the jump to occur when a button is clicked, you can use this method to jump.