超链接目标中的_top有什么作用? [英] What does _top in the hyperlink target do?
本文介绍了超链接目标中的_top有什么作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有时会在锚标记中看到target="_top"
.它是做什么的?
I sometimes see target="_top"
in an anchor tag. What does it do?
<a href="http://foobar.com" target="_top">Foobar</a>
推荐答案
如果链接位于iframe
中,则不会在iframe
中加载新网页,而是由浏览器在窗口中打开该页面.本身
If the link is in an iframe
, the new webpage will not be loaded in the iframe
but instead the browser will open the page in the window itself
这篇关于超链接目标中的_top有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文