html 跳转到新的网址
更新window.location.href后面的值即可
文件名为 index.html
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>页面标题</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
</head>
<body>
<script>
window.location.href="https://www.baidu.com/"
</script>
</body>
</html>
作者:人间春风意
扫描左侧的二维码可以赞赏

本作品采用署名-非商业性使用-禁止演绎 4.0 国际 进行许可。

浙公网安备 33010602011771号