What is the purpose of iframe in HTML?
Printable View
What is the purpose of iframe in HTML?
An iframe is an HTML element that allows an external webpage to be embedded in an HTML document. Unlike traditional frames, which were used to create the structure of a webpage, iframes can be inserted anywhere within a webpage layout. An iframe can be inserted into an HTML document using the iframe tag.
For example:
<iframe src="http://example.com" width="728" height="90"></iframe>
An iframe HTML element is used t insert content from another source like advertisements into a web page.
You can embed the another web page in your web page by using the iframe HTML element.
Thanks for sharing such information.
Hi Shyam, there is no need to post this type of content, if you have nothing to say so, you can simply click on the thanks button if you agree with the reply, otherwise you can share your experience or can give answer for the particular thread but don't post thank you, nice information.
If you really want to say you agree with the reply so also mention the reason why you are and do not post spam just for increase the post count.
The HTML <iframe> tag is used to specify an inline frame, or, as the HTML5 specification refers to it, a nested browsing context.
Book Ad in Times of India | Newspaper Ad Agency in Delhi
It is in line frame which used to show the advertisement on the website
thanks for sharing with us
An <iframe> is used for containing (X)HTML documents in other (X)HTML documents. This enables updates of parts of a website while the user browses, without making them reload the whole thing.
An iframe HTML element is used t insert content from another source like advertisements into a web page.
You can embed the another web page in your web page by using the iframe HTML element.
iframe contained two webpages into same web page.
What is the purpose of iframe in HTML?
A IFrame (Inline Frame) is a HTML report inserted inside another HTML archive on a site. The IFrame HTML component is frequently used to embed content from another source, for example, a commercial, into a Web page.