目标=“_blank”与“目标”之间的区别是什么?和“target = blank”? [英] What is the difference between target="_blank" and "target=blank"?
问题描述
自从我接触网络编程以来,在新窗口中打开一个链接,我总是使用
target =blank
但大部分时间,在这里以及我见过的其他网络中使用:
target =_ blank
两种形式都是工作(当然),但我不知道两个版本之间的区别,他们不知道什么是正确的方式(以及为什么)....
我希望你能理解我。感谢和抱歉我的英语。
或称为空白的窗口。只有当空白不存在时才会创建一个新窗口。 _blank
是一个保留名称,定位一个未命名的新窗口。
Since I approached the web programming, to open a link in a new window I always used
target="blank"
but most of the time, here and in the rest of the web I have ever seen use:
target="_blank"
Both forms work (of course), but I do not know the difference between the two versions and they do not know what the correct way (and why)....
I hope you can understand me. Thanks and sorry for my English.
blank
targets an existing frame or window called "blank". A new window is created only if "blank" doesn't already exist.
_blank
is a reserved name which targets a new, unnamed window.
这篇关于目标=“_blank”与“目标”之间的区别是什么?和“target = blank”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!