What is iframe:
An iframe or inline frame is used to display external objects including other web pages within a web page. The basic syntax for adding an iframe can be given with
The URL points to the location of external object or web page.
How to set Width and Height of an iframe:
The height and width attributes are used to specify the height and width of the iframe.
Removing Default Frameborder:
The frameborder attribute specifies whether or not to display a border around the iframe. This attribute carries a value of “0” or “1”. The default value of “1” results in a border while a value of “0” removes the border from the iframe.
Iframe as Link Target:
An iframe can be used as a target for the hyperlinks.
An iframe can be named using the name attribute. This implies that when a link with a target attribute with that name as value is followed, the linked resource is opened in the iframe.