Use Click Events to Display One of Four Images in an Img tag -- by Pat Moss

Note: This HTML/JavaScript implementation uses Click Events to display one of four images within a single Img tag.


           




Display an Image -- using Click Events:



Image 1    Image 2    Image 3    Image 4