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
- 56,717
- 76
- 267
- 423
Lasse Espeholt
- 17,432
- 5
- 61
- 99
-
So what's the point of iframe now? – Pacerier Oct 17 '17 at 13:27