a:link { color: #CC0000; } p { color: red; margin-top: 500px; } a:hover{ background-color: #CC0000; color: #FFF; } a:visited{ color:#CCC; }