View Full Version : What is the purpose of iframe in HTML..?
spobitsseo
07-10-2017, 02:27 AM
What is the purpose of iframe in HTML?
dennis123
07-10-2017, 03:04 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>
chrisgeitz
07-12-2017, 03:17 AM
Tips and Notes. Tip: To deal with browsers that do not support <iframe>, add a text between the opening <iframe> tag and the closing </iframe> tag.
rohit
07-12-2017, 05:38 AM
The <iframe> creates an inline frame, which embeds an independent HTML document into the current document.
mumbaipixels
04-03-2024, 07:27 AM
an iframe (short for inline frame) in HTML is used to embed another document within the current HTML document. This allows you to display content from another source, such as a webpage, video, or interactive media, directly on your webpage. The iframe tag creates a window through which the embedded content is displayed, and you can specify the source (URL) of the content, as well as other attributes like width, height, and border. This is commonly used to include content from different domains, such as embedding a YouTube video on a webpage, or displaying a Google Map.
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.