CSS之a链接标签样式

    xiaoxiao2026-03-08  6

    <style type="text/css"> a{ font-family: Verdana,sans-serif; font-weight: bold; text-decoration: none; } a:link{ color:black;/*链接未被访问时的样式*/ } a:visited{ color: green;/*链接被访问过且存在于浏览器的内存中的超链接的样式*/ } a:hover{ color:red;/*鼠标停留在某个超链接上的样式*/ } a:active{ color: blue;/*鼠标点击超链接但并未被释放时的超链接的样式*/ } </style> <a href="http://wwww.baidu.com">百度</a> <a href="http://wwww.taobao.com">淘宝</a> <!--链接到电子邮件的地址--> <a href="mailto:770307019@qq.com">发邮件</a>
    转载请注明原文地址: https://ju.6miu.com/read-1307738.html
    最新回复(0)