-1

How can i get rid of the underline and the different color because i do not want it to show the hyper link [1]: https://i.stack.imgur.com/SfcDC.png

2 Answers2

2

You can use the following code. Put this code in CSS file

a {
  text-decoration: none;
  color: red;
}
a:hover{
  color: black; /* You can use etc. color when user hover on link its change color of text */
}
<a href="#!">Click here</a>

  
Nimantha
  • 6,405
  • 6
  • 28
  • 69
Daddys Code
  • 581
  • 2
  • 8
0

You can use the following code to remove the underline from the hyper link. Use this code in .css file

a:link {
  text-decoration: none;
}

or you can use inline css:

<a href="example.com" style="text-decoration: none;">Click here</a>
hrtj123
  • 11
  • 2