The iframe name is set using the iframe name attribute and the iframe id attribute. The tag target attribute and the iframe name need to match. The tag uses its target attribute to point to the iframe. The iframe name is needed by the tags as a destination for the images.
This example uses three tags which are used to select which image to display. The HTML