The HTML Iframe element (inline frame) is used to display the content of other html documents within a web page.
This allows you to open a subwindow in the browser window.
The size of the Iframe element is determined by using the SRC width and SRC height attributes.

<iframe> </iframe> IFRAME HTML TAG

Iframe The HTML element uses the SRC attribute that contains the URL address of the HTML document.

example IFRAME with relative url address:

<iframe width="560" height="415" src="index.html"> </iframe>


example IFRAME with absolute url address:

<iframe width="560" height="415" src=""> </iframe>


A common way to use the html iframe element on web pages is by displaying YouTube videos.

<iframe src="" allowfullscreen></iframe>