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

 

 

 

posted @ 2018-04-12 22:33  keepsummer  阅读(59)  评论(0编辑  收藏  举报