AN INTRODUCTION TO IFRAMES

Iframes are differant to frames, an Iframe is a window within a webpage, showing the contents of another webpage, it is important to remember that their are advantages and disadvantages to both methods of fraes.

 
 <html>
<body>
<iframe src="http://www.deckleswood.org" height="300" width="450">
Alternative text for browsers that do not understand IFrames.
</iframe>
</body>
</html>

Above is an example of an Iframe, rather than having predefines areas where frames have to be, an Iframe allows you to place it where, and when you want, with more ease to plae in places such as tables.

The iframe tag is used, and should always be closed when finished. The principle of an iframe is similar to that of frames, you tell the iframe which website should be its source. the height and width can be defined as shown in the example coding. Also similar to frames, is that not every browser supports them, after the iframe tag opens, and you have specified the source, any text you place shall appear instead of an iframe should they not be supported. At this stage, you may close the tag.

Is it possible to change the contents of the Iframe?

Yes. By naming the frame, you are able to send instructions to it, To name a frame you add name="example" , obviously you may change the word example for anything you like. by clicking HERE you can see that I have been able to use HTML to change the webpage in the iframe.