HTML Iframes
An HTML iframe is used to display a web page within a web page.
An HTML iframe is used to display a web page within a web page.
Iframe Syntax
The HTML <iframe> tag specifies an inline frame.
An inline frame is used to embed another document within the current HTML document.
Preview
Removing the Border
By default, an iframe has a border around it. To remove the border, add the style attribute and write CSS border: none;.
Preview
Iframe as a Target for a Link
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.
Preview