为什么我们在aspx页面写? [英] why we write in aspx page?

查看:58
本文介绍了为什么我们在aspx页面写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们通常写在我们的aspx页面。为什么这需要

< base target ='_ self'/>

We generally write in our aspx page.why is this required
<base target='_self' />

推荐答案

它指定文档中超链接的默认目标。在这种情况下,任何未明确设置目标的链接都将在同一窗口中打开。如果您使用< base target ='_ blank'>然后,如果链接没有指定,它们将在新窗口中打开。
It specifies the default target for hyperlinks in the document. In this case, any links that don't explicitly set the target, will open in the same window. If you used <base target='_blank'> then if the link did not specify, they would open in new windows.


这篇关于为什么我们在aspx页面写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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