Inline Frame

What Does Inline Frame Mean?

An Inline Frame (IFRAME/IFrame) element allows one HTML document to be embedded within another HTML document. IFrames may be used in a variety of ways to enhance the user website experience, including displaying advertising content and comparing multiple documents.


Techopedia Explains Inline Frame

An IFrame element may contain another HTML document or even an entire website within the same browser window. In addition to having an independent scrollbar, the IFrame can serve as a link target, be printed and contains viewable source code. The IFrame allows Web programmers to change frame content via the utilization of client-side scripting (JavaScript) without requiring the website to be reloaded, allowing for interactive Web applications.

In early 2008, hackers distributed harmful iFrame content within search engine results, and a number of well-known websites, (for example, ABC News), were victimized. When such an i Frame overlay attack occurs, hackers embed iFrames within highly-trafficked websites to redirect users to websites containing malicious content, which is automatically downloaded when the websites are accessed.

As of HTML 5, framing (as implemented by the FRAME, FRAMESET and NOFRAMES HTML elements) were made obsolete, with the exception of the IFrame element.


Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…