阅读背景:

关于a标签伪类中的visited不起作用问题_赢啦啦的博客_a:visited无效

来源:互联网 
<html>
	<head>
		<title>伪类超链接</title>
		<!--<link href="/go.html?url=./test.css" type="text/css" rel="stylesheet"></link>-->
		<style type="text/css">
			a:link {
				color:red;
				font-size:20px;
			}		
			a:visited {
				color:black;
				font-size:22px;
			}
			a:hover {
				color:yellow;
				font-size:22px;
			}
			a:active {
				color:green;
				font-size:24px;
			}

			table{
				width:200px;
				height:200px;
				background-color:pink;
			}
			body{
				margin-left:0;
				margin-top:0;
			}

		</style>
	</head>
	<body>
		<a href="/go.html?url=./test.html" target="_blank">这是一个伪类的超链接</a>

	</body>
</html><html>
	<head>
		<title>伪类超链接</title>
		<!--



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: