The code for automatically jumping pages on web pages is very useful in many cases. The following are two simple examples. For reference only.
Solution 1: Use <meta> to write refresh statements directly:
<html>
<head>
<meta http-equiv="Content-Language" content="en-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="5;url=https://www.mycodes.net">
<title>html web page automatically jumps code--Xin Agricultural University website</title>
</head>
<body>
Test: html web page automatically jumps code<br/>
You can write down everything you think here! <br />
For example: Northwest A&F University is a 985 and 211 college. <br />
</body>
</html>
Solution 2: Use JavaScript scripts to jump
600)makesmallpic(this,600,1800);' src="/d/file/p/2024/08-26/cdf9c75a3d583cb53b15a4386111b32b.jpg" /><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Entering the Xi'an Agricultural University website</title>
</head>
<body>
<form name=loading>
<p align=center> <font color="#0066ff" size="2">Entering, please wait</font><font color="#0066ff" size="2" face="Arial">...</font>
<input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">
<input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
<script>
var bar=0
var line="||"
var amount="||"
count()
function count(){
bar=bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = https://www.mycodes.net;}
}</script>
</p>
</form><p align="center">
Test: html web page automatically jumps code<br/>
You can write down everything you think here! <br />
For example: Northwest A&F University is a 985 and 211 college. <br /><br />
If your browser does not support jumping, <a style="text-decoration: none" href="https://www.mycodes.net
"><font color="#FF0000">Please click here</font></a>.</p>
</body>
</html>
Running screenshot: