HTML方法:
在页面中直接加入
<meta http-equiv="refresh" content="5;url=hello.html">
JavaScript方法:
<script language="javascript" type="text/javascript"> // 直接跳转 window.location.href='hello.html'; // 5秒种后跳转 setTimeout("javascript:location.href='hello.html'", 5000); </script>
PHP方法:
header("Location: hello.html");