<!DOCTYPE html> <html> <head> <style> a:hover { background-color: yellow; } </style> </head> <body> <a href="http://www.w3schools.com">w3schools.com</a> <a href="http://www.wikipedia.org">wikipedia.org</a> <p><b>Note:</b> The :hover selector style links on mouse-over.</p> </body> </html> |