我设置了其他颜色但是因为是超链接,提交后还是显示蓝色,这个怎么改
可能是把超链接靠后的引号删掉了
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>color颜色</title>
<style type="text/css">
.o{
text-decoration:none;
color:red;
}
.l{
text-decoration:none;
color:rgb(13,200,25);
}
.k{
text-decoration:none;
color:rgb(20%,99%,55%);
}
</style>
</head>
<body>
<a class="o" href="https://www.imooc.com/">慕课网1</a>
<a class="k" href="https://www.imooc.com/">慕课网2</a>
<a class="l" href="https://www.imooc.com/">慕课网3</a>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>color颜色</title>
<style type="text/css">
.class1{
color:red;
text-transform: none;
}
.class2{
color:hotpink;
text-transform: none;
}
.class3{
color:black;
text-transform: none;
}
</style>
</head>
<body>
<a class="class1" href="https://www.imooc.com/">慕课网1</a>
<a class="class2" href="https://www.imooc.com/">慕课网2</a>
<a class="class3" href="https://www.imooc.com/">慕课网3</a>
</body>
</html>
<style type="text/css">
.a{
color:red;
}
.b{
color:RGB(255,0,0);
}
.c{
color:#FF0000;
}
</style>
</head>
<body>
<a class="a" href="https://www.imooc.com/">慕课网1</a>
<a class="b" href="https://www.imooc.com/">慕课网2</a>
<a class="c" href="https://www.imooc.com/">慕课网3</a>
</body>
a:hover{
color:red;
}
<a href="#" style="color:red">jjj</a>
我这个能改