How to change the color of focused links with CSS
Using the CSS :focus pseudo class we can change the color of a link.
Whenever the user focuses on the link, the color will change to gold.
<style> a:focus{ color:gold; } </style> <a href="https://www.3schools.in"> Visit 3schools</a>
save
listen
AI Answer
How to change the color of focused links with CSS
0
Using the CSS :focus pseudo class we can change the color of a link. Whenever the user foc…
asked
Apu
0 answers
2915
Using the CSS :focus pseudo class we can change the color of a link. Whenever the user foc…
Answer Link
answered
Apu