<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>自动跳转谷歌</title>
	<script type="text/javascript">
		// 5秒后跳转到谷歌页面
		setTimeout(function(){
			window.location.href = "https://www.google.com";
		}, 5000);
	</script>
</head>
<body>
	<h1>页面将在5秒后自动跳转到谷歌</h1>
</body>
</html>
写一段HTML访问页面5秒后跳转谷歌的代码

原文地址: https://www.cveoy.top/t/topic/bd2W 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录