Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You’ve got your large photos, your smaller thumbnails, and even a set of HTML pages for displaying individual photos. Now you need to put it all together and get those thumbnails in “index.html” linked to the pages in the “html” folder. But how?
To link an image, you put the <img> element inside an <a> element, like this:
Once you’ve placed the <img> element into an <a> element, the browser treats the image as a clickable link. When you click the image, the browser will retrieve the page in the href.