When I was making a web page, in IE, when I clicked on the content of the a tag, the color of the content on the tag would change, but in FF, it only turned red when clicked, and then changed back. How to achieve this effect in IE?
Thank you!
You can use the pseudo-class of to control these. For example: in css a:hover {color: red;} a:visited { color:green;} a:link {color:black;} a {color:white;}
For details, please refer to www.w3school.com.cn
1l correct answer