跳转链接
a标签
属性
href | 跳转链接地址路径 |
target | 改变链接打开方式 默认在当前页面打开 |
target值
_self | 当前页面打开 |
_blank | 新建页面打开 |
<head>
<base target="_blank">
</head>
<a href="http://www.baidu.com" target="_black">访问百度</a>
href | 跳转链接地址路径 |
target | 改变链接打开方式 默认在当前页面打开 |
_self | 当前页面打开 |
_blank | 新建页面打开 |
<head>
<base target="_blank">
</head>
<a href="http://www.baidu.com" target="_black">访问百度</a>