Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> a:active { background-color: #8ebf42; color: #666; } </style> </head> <body> <h2>:active selector example</h2> <a href="https://www.w3docs.com/">w3docs.com</a> </body> </html>