0

How do you make a colored text link?

Every time I try to make a colored text link with "p style" and such it fails. Any help? Using the html text editor on weebly. Thanks.

18th Oct 2016, 5:55 AM
zoz123
2 Answers
+ 2
a{ color: ; /*Put after : your color*/ } Put this code in your css stylesheet. the 'a' is for every link.
18th Oct 2016, 8:36 AM
Fronz-Tec
Fronz-Tec - avatar
0
In your css file put ( The order matters) A:link{ Color:green; } A:visited{ Color:white; } A:hover{ Color:gray; } First one changes the color of an unvisited link. Second changes the color of a visited link. Third changes the color when u hover over the link.
18th Oct 2016, 10:16 AM
Brian