一般訪問網址之前超鏈接的顏色是灰的,訪問之後就會變成紅色的,那麼其CSS怎麼設定呢?如下所示:
A:visited{text-decoration:none};
A:active{text-decoration:none};
A:link{text-decoration:none}
A:hover{text-decoration:underline}
設定好了CSS之後,就可以在html頁面上設置css了,<link type="text/css" href="css3.css" rel="stylesheet"/>