案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
a:visited
6
{
7
background-color:yellow;
8
}
9
</style>
10
</head>
11
<body>
12
13
<a href="//www.w3xue.com">W3xue</a>
14
<a href="http://www.google.com">Google</a>
15
<a href="http://www.wikipedia.org">Wikipedia</a>
16
17
<p><b>注释:</b>:visited 选择器为已被访问的链接设置样式。</p>
18
19
</body>
20
</html>