<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
</head>
<body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
a:link{
color:red;
}
a:visited{
color:blue; /*这四种状态,必须按固定顺序写laha,即link;visited;hover;active*/
}
a:hover{
color:yellow;
}
a:active{
color:green;
}</style>
</head>
<body>
<a href="https://www.baidu.com/">百度</a></body>
<a href="http://mail.163.com/">163邮箱</a>
<a href="www.baidu.com">白色的</a>
<a href="www.baidu.com">嗯嗯</a>
</html>