当前位置:首页  精选百科

精选百科

阿宝奇趣蛋(a标签去掉下划线)

2022-07-21 10:48:10
导读 大家好,小活来为大家解答以上问题。阿宝奇趣蛋,a标签去掉下划线很多人还不知道,现在让我们一起来看看吧!1、正常状态下的A标签是这样的

大家好,小活来为大家解答以上问题。阿宝奇趣蛋,a标签去掉下划线很多人还不知道,现在让我们一起来看看吧!

1、 正常状态下的A标签是这样的。

2、 一个{

3、 文字装饰:无;

4、 }

5、 a href=' www . kanbuchuan.com ' style=' text-decoration : none;这是A标签/A。

6、 还有更详细的设置。

7、 a : link { text-decoration : none;/*指未被访问过的正常链接*/

8、 } a :已访问{ text-decoration : none;/*指已经访问过的链接*/

9、 } a : hover { text-decoration : none;/*指链接中的鼠标*/} a : active { text-decoration 3360 none;/*指被点击的链接*/

10、 }

11、 你可以试试下面的代码,通过对比下面的你就知道A标签的用法了。

12、 style type=' text/CSS ' a : link { text-decoration : none;Color: red /*指未访问过的正常链接*/} a:访问过{ text-decoration 3360 none;/*指已经访问过的链接*/} a : hover { text-decoration 3360 underline;font-size :50 px;Color:blue/*指鼠标点击链接*/} a : active { text-decoration 3360 none;/*表示被单击的链接*/}/style a href=' '这是一个标记/a。

本文到此结束,希望对大家有所帮助。

免责声明:本文由用户上传,如有侵权请联系删除!