What is the difference between hover and active

How to change the color what is the section visited by me

28th Jul 2021, 11:10 AM
Surya Magesh
Surya Magesh - avatar
2 Answers
+ 4
:hover is when your cursor is over an object. :active is when you pressed an object.(e.g link becomes active after you press on it)
28th Jul 2021, 11:19 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
You can use :visited selector to change color of visited links
28th Jul 2021, 6:54 PM
Prathamesh Patil
Prathamesh Patil - avatar