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