<a href="https://www.webdesigns.com.tw/" target=_blank>一化網頁設計-網頁設計的專業首選</a>
a{text-decoration:none;}
a:link{
//設定還沒有瀏覽過的連結
color:#000;
}
a:visited {
//設定已經瀏覽過的連結
color:#ffffff;
background-color:red;
}
a:hover {
//設定滑鼠移經的連結
text-decoration:underline;
background-color:#fafafa;
color:gray;
}
a:active {
//設定正在點選的連結
text-decoration:none;
background-color:gray;
color:#fafafa;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.