HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 5. IMAGE CROP AND RESIZE 58


We can save two versions of each image: a smaller one for display to everyone,
and a larger one for display to those users that are particularly interested.
The larger one can be available by clicking on the smaller image.


We can achieve this by wrapping the smaller image inside a link to the larger
image.


Exam Question 100(p.342):How can you show a small image that when
clicked on shows a larger image?
Acceptable Answer:

Free download pdf