本文翻译自:How to remove the underline for anchors(links)?
无论如何(在CSS中)是为了避免页面中引入的文本和链接的下划线..?
#1楼
参考:https://stackoom.com/question/8z3C/如何删除锚点-链接-的下划线
#2楼
The simplest option is this: 最简单的选择是:
<a style="text-decoration: none">No underline</a>
Of course, mixing CSS with HTML (ie inline CSS) is not a good idea, especially when you are using a
tags all over the place. 当然,混合HTML(即内嵌CSS)CSS是不是一个好主意,尤其是当你使用a
标签所有的地方。
That's why it's a good idea to add this to a styl