1、a标签跳转
<a href = "path.html" />
2、js跳转
location.replace("path"); //location 的 replace()方法可以用一个新的文档替换当前文档,并且会覆盖History对象中的记录 window.location.href = 'path'; window.history.back(-1); // 返回上一页面 window.opener.location.reload(); //刷新父窗口 top.location = 'path'; //指定顶层网页的跳转,而不是网页内部嵌套的iframe self.location = "http://www.baidu.com"; //在当前页面打开,不能返回上一页面(self === this) this.location.href = "path"; //在当前页面打开,不能返回上一页面(self === this) parent.location.href = "path"; //在父页面打开新页面 window.navigate("path"); // IE专有对象
3、meta方法
<meta http-equiv="refresh" content="10"> //只是刷新不跳转到其他页面 <meta http-equiv="refresh" content="5;url=path"> //定时转到其他页面,content为时间