a标签跳转,打开一个新页面

a标签默认刷新本页面为最新页面

只需要给a标签加一个属性: target="_blank"        就可以在跳转的时候打开新的页面

< a href="index.html"  target="_blank" >跳转打开一个新的页面(不刷新本页)</a>

猜你喜欢

转载自www.cnblogs.com/PHP0222wangdong/p/11646113.html