<a> 标签

1.不继承父级样式;

2.伪类: :link  :visited  :hover  :active;

3.链接地址写到href 中;

4.下载 h5新加入的属性download,目前chrome和firefox支持,必须有href属性写明下载地址,download属性中写入下载文件名;

5.target属性 默认_self ,新窗口_blank

posted @ 2018-08-26 00:12  嘉儿2017  阅读(113)  评论(0编辑  收藏  举报