1. meta tag implementation
You only need to add the following sentence to the head. After staying on the current page for 0.1 seconds, you can jump to the target page.
Copy codeThe Code is as follows:
<Meta http-equiv = "refresh" content = "0.1; url = http://jb51.net/">
2. Javascript implementation
Method 1:
This method is commonly used.
Copy codeThe Code is as follows:
Window. location. href = "http://jb51.net /";
Method 2:
Copy codeThe Code is as follows:
Self. location = "http://jb51.net /";
Method 3:
Copy codeThe Code is as follows:
Top. location = "http://jb51.net /";
Method 4:
It is only valid for IE browsers and is not practical.
Copy codeThe Code is as follows:
Window. navigate ("http://jb51.net /");
3. php implementation
Copy codeThe Code is as follows:
<? Php
Header ("Location: http://jb51.net /");
?>
OK. The above are several page Jump methods summarized today.