1.a标签
a标签:<a href="http://www.jb51.net" title="脚本之家">Welcome</a>
<a href= “javascript:history.go(-1)”> :上一个页面,就是前一个页面
<a href= “javascript:history.go(1)”> :下一个页面,就是后一个页面
<a href="http://www.jb51.net" title="脚本之家" target="_blank">Welcome</a>
2 . location对象的href属性:
window.location.href="http://www.jb51.net"; //在同当前窗口中打开窗口
3.open :
window.open(“http://www.w3schools.com”,”_blank”); //在另外新建窗口中打开窗口