Iframes, or inline frames, allow you to load html files into an existing document. Frames are inline frames that are sometimes referred to as floating frames. One of the main advantages of the iframe tag is that it can be used to load external html or xhtml pages into the current document without distrubing the original page.
This iframe tag was not much popular when introduced because it was not supported by all the major browsers. But now Internet Explorer 4+, Netscape 6+, Firefox, Mozilla, Opera and other modern browsers all support iframes.
A basic iframe tag is :
However iframe supports a number of attributes like :
src, name, width, height, align, frameborder, scrolling
So, dynamically the iframe contents can be replaced.