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

 

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

 

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

 

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

 

posted @ 2021-07-14 14:18  睁yan-ii  阅读(4267)  评论(0编辑  收藏  举报