CSS伪类选择器

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>伪类选择器</title>
	<style type="text/css">
	a:link
{
	text-decoration:none;
	color:black;
}
a:visited{
	text-decoration:none;
	color:red;
}
a:hover
{
	text-decoration:underline;
	color:#990033;
}
a:active{
	text-decoration:none;
	color:#FF0000;
}
	</style>
  </head>
  
  <body>
  	<a href="2.html">转到第二个页面</a>
  </body>
</html>

你可能感兴趣的:(css,选择器,郏高阳,CSS伪类选择器)