Basically, iframe creates an inline frame that contains another document.
Note: you can access different webpage (src attribute in iframe) w/c can be embedded in a parent document. And this is useful to create a sort of AJAX enable page by enable a request with refreshing the whole page, just the iframe. Example:
With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.
The disadvantages of using frames are:
The web developer must keep track of more HTML documents
before using html-frames I suggest you to google "why not use frames" phrase. Except some specific areas it is not suggested. Creating pages with frames is more complex . It also can be confusing for the people who are going to browse it. See these links..
Answers
Add AnswerBasically, iframe creates an inline frame that contains another document.
Note: you can access different webpage (src attribute in iframe) w/c can be embedded in a parent document. And this is useful to create a sort of AJAX enable page by enable a request with refreshing the whole page, just the iframe. Example:
With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others.
The disadvantages of using frames are:
The web developer must keep track of more HTML documents
It is difficult to print the entire page
Check out this tutorial. Hope it helps.
http://www.htmlcodetutorial.com/frames/frames.html
Be sure to click on the links under "Contents" on the right hand side.
frameset
before using html-frames I suggest you to google "why not use frames" phrase. Except some specific areas it is not suggested. Creating pages with frames is more complex . It also can be confusing for the people who are going to browse it. See these links..
http://www.useit.com/alertbox/9612.html
http://www.useit.com/alertbox/9605a.html
Use iframe.
Visit www.w3schools.com
Share your knowledge