W3School TIY
编辑您的代码:
<!DOCTYPE html> <html> <head> <style> a:link {color:blue;} a:visited {color:blue;} a:hover {color:red;} a:active {color:yellow;} </style> </head> <body> <p>将鼠标指针移动到这个链接上:<a href="../">w3school.com.cn</a></p> </body> </html>
查看结果: