About link and visited attributes
益伦
益伦 2017-12-06 22:31:06
0
2
1232

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> ;CSS style rules</title>
<style>
/*When link is not accessed*/
a:link{
color: black;
text-decoration: none ;
}
              a:visited{
                                                                use ’s         using       through   through ’’s ’ through ‐ ‐ ‐ ‐‐ ‐‐ ‐ ‐ ‐ ‐ ‐ to 150%; ##         font-wight:bolder;
font-size:200%;
color: pink;
text-decoration-line:underline;
text-decoration-color: darkgreen;
}
a:active{
        color: deeppink;
font-size:250%;
}
  </style>
</head>
< body>
<p >
<a href="http://www.php.cn" target="_blank" >php Chinese website welcomes you</a>
< ;/p>
</body>
</html>

Please help me look at this string of code. Why is it still red before clicking and still red after clicking, and it is not centered? Hover and click effects are normal, please give me a solution?

益伦
益伦

reply all(1)
橘ふ丢孒

<p align="center">
<a href="#" >php Chinese website welcomes you</a>
</p>

Change the file name or open it in a different browser and see if it was red before clicking it

  • reply You can change IE and it works fine. Maybe it was cached before.
    益伦 author 2017-12-10 19:35:33
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template