What is an HTML iframe?

An iframe is used to display a web page within a web page. The <iframe> tag defines a rectangular region within the document in which the browser can display a separate document.

##​ Syntax

svg viewer

Usage

The following code snippet creates an iframe that displays the Educative home page inside the frame:

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved