1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!DOCTYPE html> <!-- Fig. 10.11: RandomPicture.html --> <!-- HTML5 document that displays randomly selected images. --> <html> <head> <meta charset="utf-8"> <title>Random Image Generator</title> <script src="RandomPicture.js"></script> </head> <body> <img id="image" src="CPE.png" alt="Common Programming Error"> </body> </html>