What is the purpose of the iframe tag in HTML? What is it used for?
Asked
Active
Viewed 2.7k times
2 Answers
15
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:

Moshe
- 57,511
- 78
- 272
- 425

Lasse Espeholt
- 17,622
- 5
- 63
- 99
-
So what's the point of iframe now? – Pacerier Oct 17 '17 at 13:27