.immagine{
display: block;
width:xxxpx;
height:yyypx;
background-img: url("immagine");
}
.immagine:visited{
background-img: url("immagine2");
}

questo nel css, mentre per quanto riguarda l'html crei semplicemente un tag a

senza bisogno di metterci testo dentro