<!DOCTYPE html>
<html>
<head>
<title>页面跳转示例</title>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="5; url=https://www.example.com">
</head>
<body>
<p>您将在5秒后被重定向到<a href="https://www.example.com">example.com</a>。</p>
</body>
</html>
<meta http-equiv="refresh" content="5; url=https://www.example.com">:这一行代码用于设置页面在加载后的5秒钟后自动跳转到指定的URL(在这个例子中是https://www.example.com)。content="5; url=https://www.example.com"表示等待5秒后跳转到https://www.example.com。<p>您将在5秒后被重定向到<a href="https://www.example.com">example.com</a>。</p>:这段文字告知用户页面将在5秒后自动跳转,并提供了一个手动跳转的链接,以防用户不想等待。上一篇:html点击按钮跳转页面
下一篇:html隐藏滚动条
Laravel PHP 深圳智简公司。版权所有©2023-2043 LaravelPHP 粤ICP备2021048745号-3
Laravel 中文站