python之路之css

方式三

方式四

 1 <style type="text/css">
 2     a:link{
 3         color: red;
 4     }
 5     a:visited {
 6         color: blue;
 7     }
 8     a:hover {
 9         color: green;
10     }
11     a:active {
12         color: yellow;
13     }
14 </style>
15 </head>
16 <body>
17     <a href="01-hello-world.html">hello-world</a>
18 </body>
19 </html>
View Code

原文地址:https://www.cnblogs.com/minmin123/p/8810900.html