html 如何设置访问页面自动重定向到新页面
- 在 head 元素中加入 meta 属性
<html>
<head>
<!--0s 后, 重定向到爱组搭-->
<meta http-equiv="refresh" content="0;url=http://aizuda.com">
</head>
<body>
</body>
</html>
- js 重定向
window.location="http://aizuda.com";
推荐指数:
真诚点赞 诚不我欺~
<html>
<head>
<!--0s 后, 重定向到爱组搭-->
<meta http-equiv="refresh" content="0;url=http://aizuda.com">
</head>
<body>
</body>
</html>
window.location="http://aizuda.com";
真诚点赞 诚不我欺~