<!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?
<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