页面跳转的常用方法!

方法1:

  <meta http-equiv="refresh" content="5;url=hello.html">

方法2:

  <script type="text/javascript">

    window.location.href="hello.html";(直接跳转);

  </script>

方法2’

  <script type="text/javascript">

    setTimeout("javascript:location.href='hello.html'",2000);(定时跳转)

  </script>

方法2”

  <script type="text/javascript">

  setTimeout(function(){

    location.gref="hellow.html";)(定时跳转)

  },2000)

  </script>

出入茅庐
原文地址:https://www.cnblogs.com/Mrkaikai/p/6514595.html