<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>