How do you change the color of a link in an html paragraph? | Sololearn: Learn to code for FREE!
+ 3

How do you change the color of a link in an html paragraph?

I understand how easy this must sound for some html veterans, but I am having trouble with changing it from purple, even with some help from css. It just blends in too much with the background... can someone help? Any way to solve it in css or html would be ok.

27th Jul 2017, 9:51 PM
Wolfy Mountain
Wolfy Mountain - avatar
3 Respostas
+ 11
vinny is right. Also since purple is color of a visited page you can use: a:visited {} for a page already visited by user and a:hover {} for color of a link with mouse on it. for removing the underline: a { tex-decoration:none; }
27th Jul 2017, 11:09 PM
Farshad
Farshad - avatar
+ 6
went into my slightly older codes for this :P hope this helps! one of the first css codes i learned. a { color: #; }
27th Jul 2017, 10:19 PM
esenia
esenia - avatar
+ 1
Thanks!
28th Jul 2017, 11:07 AM
Wolfy Mountain
Wolfy Mountain - avatar