What is iframe used for? [closed]

An <iframe> is used for containing (X)HTML documents in other (X)HTML documents. This enables updates of parts of a website while the user browses, without making them reload the whole thing. (This is now largely replaced by AJAX).

Also, see:

http://w3schools.com/TAGS/tag_iframe.asp

http://en.wikipedia.org/wiki/HTML_element#Frames

Leave a Comment