0
All about a hrefs and text decoration -- removing link's blue colour and underline
In this code of mine https://code.sololearn.com/WJ2p6gwjRWZo/?ref=app I want the link's word to be in yellow colour, I have used CSS styles like text-decoration and colour, then also it is not working, how to make it done.
3 Respostas
+ 5
You need to reference the anchor tag, not the body :)
a {
color: yellow;
text-decoration: none;
}
+ 1
you can do it more specific, for example to turn the text orange when clicked:
a:link {
color: yellow;
text-decoration: none;
}
a:visited {
color: orange;
text-decoration: none;
}
this can be helpfull, but it is just an extra
0
ok Thanks