我已经能够修改访问链接的文本的颜色,但是我不能修改它的“背景颜色”和“边界颜色”属性。内部样式表的第一部分是CSS重置。
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hola Alumnos</title>
<style>
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
padding: 0;
margin: 0;
font-size: 100%;
font-weight: normal;
}
table { border-collapse: collapse; border-spacing: 0; }
td, th, caption { font-weight: normal; text-align: left; }
img, fieldset { border: 0; }
ol { padding-left: 1.4em; list-style: decimal; }
ul { padding-left: 1.4em; list-style:square; }
q:before, q:after { content:''; }
a:visited{
color:red;
background-color:blue;
border-color:red;
}
</style>
</head>
<body>
<a href="https://www.google.com/" target="_blank">Ve a Google</a>
</body>
</html>
谢谢