How to remove the default link color of the html hyperlink 'a' tag?

后端 未结 12 2146
时光说笑
时光说笑 2020-12-07 08:56

The default link color is blue. How to remove the default link color of the html hyperlink tag ?

12条回答
  •  醉酒成梦
    2020-12-07 09:26

    You have to use CSS. Here's an example of changing the default link color, when the link is just sitting there, when it's being hovered and when it's an active link.

    a:link {
      color: red;
    }
    
    a:hover {
      color: blue;
    }
    
    a:active {
      color: green;
    }
    Google

提交回复
热议问题