base标签的属性target用法
2009-04-07 21:59
260 查看
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<base target="_self">
</head>
<body>
<p>
<a href="http://www.w3school.com.cn" target="_blank">这个连接</a>
将在新窗口中加载,因为 target 属性被设置为 "_blank"。
</p>
<p>
<a href="http://www.w3school.com.cn">这个连接</a> 也将在原窗口中加载,target属性为"_self"。
</p>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<base target="_self">
</head>
<body>
<p>
<a href="http://www.w3school.com.cn" target="_blank">这个连接</a>
将在新窗口中加载,因为 target 属性被设置为 "_blank"。
</p>
<p>
<a href="http://www.w3school.com.cn">这个连接</a> 也将在原窗口中加载,target属性为"_self"。
</p>
</body>
</html>
相关文章推荐
- html标签a的target属性的用法
- a标签的target属性用法
- html基础 base target 设置a标签target属性的缺省值
- html标签a的target属性的用法
- iframe的name属性用法(配合a标签的target属性实现页面局部刷新)
- jsp中<base target='' />标签用法
- <base target > 标签用法 及showModalDialog 问题
- a标签target属性的用法
- a标签的target属性用法
- html标签a的target属性的用法
- HTML <base> 标签的 target 属性 —— <base target="_blank" />
- a 标签 target属性的用法
- base标签与a标签的href属性
- [自用门户]jQuery 文档操作方法,了解prepend()用法:在标签开头加入由参数属性组成的内容
- iframe标签用法详解(属性、透明、自适应高度)
- HTML <a> 标签的 target 属性
- HTML <form> 标签的 target 属性
- html 中 <a></a>标签中 target 属性
- html meta标签属性用法集合
- HTML <a> 标签的以及 target 属性