如何在没有下划线的情况下显示超链接?

Yve*_*ves 2 html css

如何在没有下划线的情况下显示超链接?

Mic*_*odd 15

a:link {
    text-decoration: none;
    color: #0000CC;
}
a:visited {
    text-decoration: none;
    color: #0000CC;
}
a:hover {
    text-decoration: underline;
}
a:active {
    text-decoration: underline;
}
Run Code Online (Sandbox Code Playgroud)

(或者至少我们是这样做的.)

哦,顺便说一句,上面的顺序很重要.