CSS扩展选择器2
<html>
<head>
<title>HTML示例</title>
<style type="text/css">
/*原始状态*/
a:link {
background-color:green;
}
/*悬停状态*/
a:hover {
background-color:pink;
}
/*点击状态*/
a:active {
background-color:yellow;
}
/*点击之后的状态*/
a:visited {
background-color:gray;
}
</style>
</head>
<body>
<a href="http://www.baidu.com" target="_blank">超链接cccccccxxxx</a>
</body>
</html>

浙公网安备 33010602011771号