超链接在新标签页中打开 [英] Hyperlink open in a new Tab

查看:128
本文介绍了超链接在新标签页中打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个超链接,默认情况下会在新窗口中打开

I have a hyperlink and by default it opens in a new window

Target="_blank"





Is there a code that makes it open in a new tab rather than a new window?

推荐答案

好问题.....!
只有4个目标框架_blank,_self,_parent和_top,这些都不能在新选项卡中打开.
您可以参考一次以获取更多信息 http://www.w3schools.com/tags/att_a_target.asp [ ^ ]
Nice question.....!
There are only 4 target frame _blank,_self,_parent and _top and none of this can open in a new tab.
You can refer this once for more information http://www.w3schools.com/tags/att_a_target.asp[^]


嗯...我只能说这取决于您的浏览器或浏览器设置.但是,请尝试在CSS3中使用此目标设置.特别是target-new.

http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224 / [^ ]
Hmm... I can only says that it depends on your browser or browser settings. But try to play with this target settings in CSS3. Specially the target-new.

http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/[^]


这篇关于超链接在新标签页中打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆