Random Images with Text - Simple

This example by Nading Wettlaufer, based on the version of random image JS written by Daniel Arce, after code by Don Sinclair.

Here is the Random Image -- one of 1, 2, 3, or 4, with accompanying text:

random image

Reload this page, and see a different random image

on this page, there is a CSS rule that sets ALL images on this page to have a border, using img as a selector.
If you DO NOT want all images on the page to have a border, delete the img CSS rule in the style tags.

Here are the 4 images you need for this example to work.
Download them and then save them all in a folder called images, which should sit in the same folder as your html page: