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
Asked
Active
Viewed 906 times
2 Answers
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
-
So it seams to work when doing it on my desktop but not when i upload it to my website https://breezymods.000webhostapp.com/ – Invisiblebreezy Mar 24 '21 at 05:58
-
Its working fine. trt pressing ctrl + F5 to reset the cache. – hrtj123 Mar 24 '21 at 05:59