哈希空间

html/css 去掉/隐藏 超链接下划线 text-decoration 属性

超链接的下划线可以通过 text-decoration:none 来实现隐藏。

<a href="https://www.hashspace.cn" style="text-decoration:none">没有下划线的超链接</a>

text-decoration 值可选范围如下表

说明
overline 上划线
line-through 中划线,也叫删除线
underline 下划线
none 没有划线

本文 最佳观看地址:https://www.hashspace.cn/css-text-decoration.html 阅读 348

打开 哈希空间 微信小程序中查看更佳