Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jun 2017
    Posts
    153

    Lightbulb Describe the purpose of iframe in HTML?

    Describe the purpose of iframe in HTML?

  2. #2
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    2,805
    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>

  3. #3
    Registered User
    Join Date
    Nov 2018
    Posts
    41
    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.

  4. #4
    Registered User
    Join Date
    Mar 2019
    Location
    Ahemdabad
    Posts
    16
    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.
    .NET Developer At iFour Technolab Pvt Ltd
    http://www.ifourtechnolab.com/

  5. #5
    Registered User
    Join Date
    Apr 2019
    Posts
    57
    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!

  6. #6
    Registered User
    Join Date
    Mar 2019
    Location
    Ahmedabad
    Posts
    89
    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>

  7. #7
    Senior Member
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    4,889
    The <iframe> tag specifies an inline frame. An inline frame is used to embed another document within the current HTML document.
    Cheap VPS | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop
    Cheap Dedicated Server | Free IPMI Setup

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.