Change image on click



CSS .click { width:200px; height:200px; background: url(img1.png) center center no-repeat; }

.visited { background: url(img2.png) center center no-repeat; } HTML Content