In the example below, when will the color pink be applied to the anchor element?

a:active {
color: pink;
}

  • The color of the link will display as pink after its been clicked or if the mouse is hovering over the link.
  • The color of the link will display as pink on mouse hover.
  • The color of the link will display as pink while the link is being clicked but before the mouse click is released.
  • The color of the link will display as pink before it has been clicked.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Share via
Continue in browser
To install tap Add to Home Screen
Add to Home Screen
G Certification Course
Get our web app. It won't take up space on your phone.
Install
G Certification Course We would like to show you notifications for the latest news and updates.
Dismiss
Allow Notifications
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.