我的HTML:
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
/* Make all anchors and variations plain black text color */
a,
a:link,
a:hover,
a:focus,
a:active,
a:selected,
a:visited
{
color:#000000;
}
</style>
</head>
<body>
<a href="#">This is a visited link that is puple</a>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
当我访问此页面并单击链接时,文本颜色为紫色,就像访问链接的默认颜色一样.怎么会这样?如何<a>在所有情况下使文本变黑?
这在Chrome和IE9中重现; 还没有费心去测试别的东西.
| 归档时间: |
|
| 查看次数: |
1435 次 |
| 最近记录: |