a标签去除下划线,利用CSS去除 <a href="#" class="a">默认有下划线</a> 只需CSS一步即可 .a:hover{ text-decoration: none; } hover是鼠标触摸到的样式