a{text-decoration: none;} //这个是设置a标签的默认状态去除下划线a:visited{text-decoration: none;} //这个是设置a标签的访问过后的状态去除下划线 a:hover {text-decoration: none;} //这个是设置a标签的鼠标覆盖状态去除下划线a:active{text-decoration:none;} //这个是设置a标签的活跃状态去除下划线