Açıklaması şöyle
iFrame provides “sandboxing” to isolate content of the embedded frame from the parent web page, thus ensuring that information is not accessible or cannot be manipulated through various exploits by malicious individuals.
iframe içindeki Bağlantı
Açıklaması şöyle. Yani iframe kendi bağlantısını yapar
While it may seem natural to think that if one page visually envelops another, there may be something similar happening with the underlying connections, this is not the case.Your browser creates distinct HTTPS connections to host1 and host2, and both in (more-or-less) the same manner.
Örnek
Şöyle yaparız
<iframe width="420" height="315" src="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
</iframe>