An iframe is used to display a web page within a web page.
An HTML iframe is defined with the <iframe> tag:
<iframe src="URL"></iframe>
The src attribute specifies the URL (web address) of the inline frame page.
Use the height and width attributes to specify the size of the iframe.
The attribute values are specified in pixels by default.
By default, an iframe has a border around it.
To remove the border, add the style attribute and use the CSS border property.
An iframe can be used as the target frame for a link.
The target attribute of the link must refer to the name attribute of the iframe.
When the target of a link matches the name of an iframe, the link will open in the iframe.