View Full Version : Describe the purpose of iframe in HTML?
spobitsseo
07-17-2017, 02:04 AM
Describe the purpose of iframe in HTML?
dennis123
07-17-2017, 02:39 AM
Iframe is called as inline frame that places one HTML document in a frame. It is different from the object element as the inline frame can be made in the target frame. The target frame consists of the links that is defined by other elements used in the web page. Iframe is used to focus on printing or viewing of the source. Iframe can be used by the user in those browser that supports it. If they have used iframe also then the incompatible browser won't display the actual but display of the alternative text will take place. The content of the iframe is being written in between <iframe>.........</iframe>.*****
The sample example is given below:
<iframe src="http://www.abc.com"></iframe>
gurumaa
01-11-2019, 02:24 AM
An IFrame (Inline Frame) is an HTML document embedded inside another HTML document on a website. The IFrame HTML element is often used to insert content from another source, such as an advertisement, into a Web page.
Drasti_Chavda
03-28-2019, 03:09 AM
iframe tag specifies an inline frame.It can appear anywhere in any of the document.It is used to embed another document within the current HTML document.
Following is a Program to understand better:
<html>
<body>
<iframe src="https://forums.hostsearch.com/" height="300" ,width="500">
</iframe>
</body>
</html>
dnn software development companies : http://www.ifourtechnolab.com/dnn-software-development.
shaili shah
05-28-2020, 01:45 AM
An Iframe is an html document embedded inside the another html document.
Iframe is often used as for an advertisement.
Web designer can change an iframe content without reloading the page.
This is enabled using the JS or the target attribute of html.
<iframe height="300px" width="100%" src="demo_iframe.htm" name="iframe_a"></iframe>
<p><a href="https://www.w3schools.com" target="iframe_a">Project.com</a></p>
I hope it'll helpful to you.
Thanks!
Sherin
06-24-2020, 02:29 AM
The iframe in HTML stands for Inline Frame. The ” iframe ” tag defines a rectangular region within the document in which the browser can display a separate document, including scrollbars and borders. An inline frame is used to embed another document within the current HTML document.
Now you know that iFrame is an additional element to share content from other sites. You can add it to give context about a certain topic to the readers. You can insert an iFrame element by using the <iframe> tag in an HTML document. Copy the code below and paste it to notepad, and save the file as .html format:
<iframe src="https://www.youtube.com/embed/dXBohfjc4WA" width="680" height="480" allowfullscreen></iframe>
RH-Calvin
06-24-2020, 10:10 AM
The <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document.
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.