The iframe name is set using the iframe name attribute and the iframe id attribute. The basic syntax for adding an iframe to a web page can be given with: .
The tag target attribute and the iframe name need to match.
An element can be displayed in many ways, depending on the type attribute. The tag uses its target attribute to point to the iframe. The HTML element is the most used form element.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