Selector pseudo-class :active
a:active
Selects the active link
When interacting with a mouse, this is typically the time between the user pressing the mouse button and releasing it. The :active pseudo-class is also typically matched when using the keyboard tab key. It is frequently used on and HTML elements, but may not be limited to just those.