总结一下html的标签
一. a标签
1.target属性:
- _blank
- _parent
- _self
- _top
2.base 标签为页面上的所有链接规定默认地址或默认目标。
<base href="http://www.w3school.com.cn/i/" ><!--[if IE 6 ]></base><![endif]-->
<base target="_blank" ><!--[if IE 6 ]></base><![endif]-->
3.锚点
跳到具体的id/name;
4.一些不常用的
- tel=>移动端\wtai
<a href="tel:12345678910">拨打电话</a>
<a href="wtai://wp/mc;10086">10086</a>
- sms=>移动端
<a href="sms:12345678910?body=发送短信">发送短信</a>
- mailto
<a href="mailto:[email protected]?cc="[email protected]&bbc="[email protected]&subject=这是一封邮件&body=我想你">发送邮件</a>
- Android Market
<a href="market://search?q=MyApp">MyApp</a>
- 地图GPS定位
<a href="geopoint:108.954823,34.275891">我的位置</a>
5. 书写顺序
love,hate link-visited-hover-active