网页跳转方法总结

1.直接嵌入js代码:
<script type="text/javascript">
location.replace("http://www.brtn.cn");
</script>


2.在<head>中,加入:
<meta http-equiv="refresh" content="0;url=http://www.baidu.com">

原文地址:https://www.cnblogs.com/loveLearning/p/3709198.html