Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>本教程(w3big.com)</title> <style> a:active { background-color:yellow; } </style> </head> <body> <a href="http://www.w3big.com/">w3big.com</a> <a href="http://www.wikipedia.org">wikipedia.org</a> <p><b>注意:</b> :active选择器样式触发时链接到链接页面</p> </body> </html>