在HTML中怎么去掉a标签(超链接)的下划线?

<style type="text/css">
a:link,a:visited{
text-decoration:none; /*超链接无下划线*/
}
a:hover{
text-decoration:underline; /*鼠标放上去有下划线*/
}
</style>

<a href="#">超链接</a>
原文地址:https://www.cnblogs.com/zxyun/p/4378249.html