HTML Iframes
An html iframe is used to display a web page within a same web page.
Example : -
<!DOCTYPE html>
<html>
<body>
<h2>HTML Iframes Example</h2>
<p>We can use the height and width attributes to specify the size of the iframe:</p>
<iframe src="https://www.stackoverlode.com/" height="200" width="100%"></iframe>
</body>
</html>
— The output of the above example will look something like this:-
HTML Iframe Syntax
We can define an inline frame with HTML tag <iframe>.
Syntax :
<iframe src="URL"></iframe>
The src is attribute specifies the URL "web page address " of the inline frame page.