0

Links on HTML

If I want to change the color of the link and remove the line under it what should I do?

15th Jul 2022, 5:25 PM
Little Mimi
Little Mimi - avatar
4 Antworten
+ 3
This is explained in this course. https://www.sololearn.com/learn/CSS/1109/?ref=app
16th Jul 2022, 1:20 AM
Chris Coder
Chris Coder - avatar
+ 2
Little Mimi a { text-decoration:none; color:red; }
15th Jul 2022, 5:30 PM
A͢J
A͢J - avatar
+ 2
With a{ } can you change it for every Link, than remember Link's still a Text so the Methode to Change the Color's still the same. And hint underline's a Text Decoration type now look up how you can delete it.
15th Jul 2022, 5:30 PM
Felix Alcor
Felix Alcor - avatar
+ 2
Links also have additional styles depending if links are visited, active ... So sometime if your design need you also need to set style for it. a:visited { color: yellow; } So this will set color of this link when user click on it, so user can know what links he was visited, default is some purple color. Here is more about this styles, I think it is useful to learn tham now, and it also cover your question so make sure you check it and play little bit with code. https://www.w3schools.com/css/css_link.asp
15th Jul 2022, 7:13 PM
PanicS
PanicS - avatar