在head下加入css控制超链接的一些属性:
 
复制代码 代码示例:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   
<title>css取消超链下划线 设置字体颜色_www.jb200.com</title>  
<style type="text/css">  
   a:link {  
   color: #000000;  
   text-decoration: none;  
   }  
   a:visited {  
   text-decoration: none;  
   color: #000000;  
   }  
   a:hover {  
   text-decoration: underline;  
   color: #FF0000;  
   }  
   a:active {  
   text-decoration: none;  
   color: #FF0000;  
   }  
</style>  
</head>
很简单吧,主要就是a标签伪属性的用法了,有兴趣的朋友,做个小页面测试下吧。