为什么将标记的访问伪类应用于未访问的链接?

问题描述

为什么访问之前的链接已经是紫色?您能解释一下为什么会发生吗?下面我提供了HTML代码。

<!DOCTYPE html>
<html>
<head>
<style>
/* unvisited link */
a:link {
  color: green;
}

/* visited link */
a:visited {
  color:purple;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color: yellow;
} 
</style>
</head>
<body>

<p>Mouse over and click the link: <a href="https://xjedi.com/index.jsp?com=ob&id=8271">XJEDI</a></p>

</body>
</html>

I have link to Jsfiddle

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)