Sign Up

Talk Programming , Career, Mental Health, Talk Personal Finance ❤️‍ Post a query and receive responses ✅

Have an account? Sign In


Have an account? Sign In Now

Sign In

Post a query and receive responses. Ask anything, Ask Mitra ❤️‍

Sign Up Here


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.


Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Ask Mitra

Ask Mitra Logo Ask Mitra Logo

Ask Mitra Navigation

  • Home
  • About Us
  • Find Jobs
  • Blogs
    • Add New Blog !
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Ask a Question
  • Home
  • All Categories
  • Find Jobs
  • Points and Swags
    • Badges and Points
    • Ask Mitra Swags
  • Blog
    • Add New Blog !
  • FAQs
  • Community Members 💓
  • About Us
  • Contact Us
Home| Questions|Q 55887
Next
Answered
Jessybasnet
JessybasnetBeginner
Asked: May 20, 20222022-05-20T20:08:40+05:45 2022-05-20T20:08:40+05:45In: —HTML&CSS

wha is HTML Iframes

Someone please explain to me the iframe tag in HTML. Why is it used? How is it used?

htmlquestion
  • 0
  • 7 7 Answers
  • 67 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • Hello guys, ma chai bachelor pass out ho ani I am looking for a place to learn more about flutter. ...
    • How can we build long-term, mutually beneficial relationships with our customers?
    • What does ReactJS intern do in a internship programme?
    • Today I have applied for urgent online e-passport form from Kathmandu and I submitted it but after that I found ...
    • What is wrong here??

    You must login to add an answer.


    Forgot Password?

    Need An Account, Sign Up Here

    7 Answers

    • Voted
    • Oldest
    • Recent
    • Random
    1. Best Answer
      [Deleted User]
      2022-05-20T20:21:25+05:45Added an answer on May 20, 2022 at 8:21 pm

      An inline frame is one that embeds another frame or another html page in your current page; the frame may be from another website.

      The best examples of iframe usage are

      • You may see Youtube videos embedded in lots of html pages. When you click there, it plays like a YouTube player on another website, which is made possible by iframe.
      • You have obviously seen maps embedded in contact forms of lots of webpages and sites. That is also made possible by iframe.

      A simple iframe helps you to embed anything from another website/page to your website/webpage.

      have a look at this docs this explaines iframe the best

      <iframe>: The Inline Frame element – HTML: HyperText Markup Language | MDN (mozilla.org)

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. Notabhishekrai Explainer Just a guy with great mustache.
      2022-05-20T20:29:29+05:45Added an answer on May 20, 2022 at 8:29 pm

      for now just think of it as an HTML element that allows us to link and preview videos, maps and other stuffs of other sites with permission.

       

      Mostly we use it to embed google maps or youtube videos.

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. Neri Shrestha Explainer 🦋
      2022-05-20T20:51:50+05:45Added an answer on May 20, 2022 at 8:51 pm

      In simple words, iframe is inline frame.

      It is used to embed another document within the existing html page.

       

      Syntax:

      <iframe src=”url” title=”description”></iframe>

       

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. Virtual Wiz Tech Nerd Love to Code | Just a Tech Enthusiast
      2022-05-20T21:42:09+05:45Added an answer on May 20, 2022 at 9:42 pm

      iframe means a inline frame…which basically acts as split screen function…

      it helps you to embed another website or webpage to your own website….

      simple example…

      <iframe src="url of site you want to embed" title="description"></iframe>

       

      more info…

      https://www.w3schools.com/tags/tag_iframe.asp

      • 1
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    5. Dunnoh Pundit
      2022-05-21T01:51:28+05:45Added an answer on May 21, 2022 at 1:51 am

      So by this time you must know how <img..> tag works using which you can embed images hosted in another domain into your html document. Now Iframe takes it another step forward and allows you to embed another document into your html document. Usually Iframe is used when you want embedding done cross domain.

      Risks you should consider while embedding contents from other domains:
      1> Let us see you tube example you embedded an youtube video in your site and suddenly the owner of that youtube video decides to remove it from youtube you will end up with broken portion in your web.
      2>There is huge security risk while embedding from another domain in cases where it is not under your control.

      One use case could be let us say you have an responsive web chat page already developed you can easily embed the web chat page in your mobile app in an menu item.

      Iframe is kind of mostly avoidable shortcut to things and I would suggest to avoid it as much as possible and try to integrate in better ways.

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    6. THE BIG OCEAN Explainer
      2022-05-21T10:04:37+05:45Added an answer on May 21, 2022 at 10:04 am

      The <iframe> creates an inline frame, which embeds an independent HTML document into the current document.

      For example:

      
      
      <iframe width="560" height="315" src="https://www.youtube.com/embed/owsfdh4gxyc" frameborder="0" allowfullscreen></iframe>
      
      

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    7. Bikal Niraula Explainer Newbie
      2022-05-21T13:09:12+05:45Added an answer on May 21, 2022 at 1:09 pm

      <iframe> is inline frame used to embed or link with another web page usually for displaying a video

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    Ask A Question

    Your Favourite Topics

    • Announcements
    • Blockchain
    • Books

        • —Non Tech Books
        • —technical books
    • Business and Entrepreneurship
    • Careers
    • College
    • Content and Blog
    • CyberSecurity
    • Design and Arts
    • Devices and Gadgets
    • Digital Marketing
    • Entertainment

        • —Movies-Series-TV
        • —Music
        • —Sports
    • Events
    • For Admins only.
    • Health

        • —Fitness
    • Money

        • —Personal Finance
        • —Stock Market
    • Operating System

        • —linux
        • —windows
    • Other
    • Paid Internship
    • Programming

        • —AI/ML
        • —APIs
        • —C & C#
        • —Django
        • —Flutter
        • —Go
        • —HTML&CSS
        • —Java
        • —JavaScript
        • —Mobile Apps Development
        • —Node Js
        • —NoSQL
        • —Php
        • —Python
        • —React JS
        • —SQL

    Stats

    • Questions 1k
    • Answers 10k
    • Best Answers 394
    • Users 2k

    Top 6 Members This Month

    Vicky

    Vicky

    • 0 Questions
    • 78 Points
    Sensei
    puppet

    puppet

    • 0 Questions
    • 23 Points
    Beginner
    wtfixair

    wtfixair

    • 0 Questions
    • 22 Points
    Beginner
    Dhanmaya

    Dhanmaya

    • 0 Questions
    • 20 Points
    Beginner
    Riyesh

    Riyesh

    • 0 Questions
    • 20 Points
    Beginner
    pranitkarki

    pranitkarki

    • 0 Questions
    • 20 Points
    Beginner

    Trending Tags

    blockchain c++ career coding College cybersecurity Django Flutter help html javascript laptop laravel linux poll Programming python question react web web development wordpress
    • Popular
    • Answers
    • Rounak Agrawal

      Ask Mitra Udemy Courses Giveaway

      • 76 Answers
    • Subedi Bibek

      The Complete JavaScript Course 2022: From Zero to Expert! Udemy ...

      • 73 Answers
    • Subedi Bibek

      Mega Giveaway at askmitra.com 🔥

      • 69 Answers
    • Sandeep Poudel
      Sandeep Poudel added an answer SOLVED: It was due to unfinished SSL certificate installation January 27, 2023 at 7:11 pm
    • Aashutosh_k
      Aashutosh_k added an answer Software piracy protection system Fingerprint voting system Stock price prediction… January 26, 2023 at 7:37 pm
    • Sangam AKA Ronnie
      Sangam AKA Ronnie added an answer Did you miss my video. https://youtu.be/Wo0NxEivd7A watch at end to… January 24, 2023 at 9:13 pm

    Related Questions

    • All Skills required for front end web developer

      • 4 Answers
    • need help create a logo

      • 2 Answers
    • about 100 days challenge

      • 7 Answers
    • web development

      • 5 Answers
    • frontend biggner

      • 9 Answers

    Explore

    • Home
    • Trending Category
      • Programming
      • Web Development
      • —Mobile Apps Development
      • —Stock Market
      • Business and Entrepreneurship
      • Blockchain
      • College
      • —Personal Finance
      • —HTML&CSS
      • —JavaScript
      • —Python
      • —React JS
      • —Node Js
      • —C & C#
      • Content and Blog
      • Careers
    • All Categories
      • Go to All Categories
      • Health
      • —Go
      • —Flutter
      • Digital Marketing
      • —APIs
      • Devices and Gadgets
    • Find Job and Internships
    • Points and Swags
      • Badges and Points
      • Ask Mitra Swags
    • All Blogs
      • Add New Blog !
    • FAQs
    • Community Members 💓
    • Questions
      • Un Answered
      • New Questions
      • Most Seen Questions
      • Most Answered
      • Trending Questions
    • Tags

    Footer

    Ask Mitra

    Ask Mitra

    Ask Mitra is a social question and answer engine that will assist you in forming a community and connecting with others. Talk about programming, your career, your mental health, and your personal finances. ❤️‍ Post a query and receive responses ✅

    Quick Navigation

    • Ask a Question
    • Home
    • All Categories
    • Find Jobs
    • Points and Swags
      • Badges and Points
      • Ask Mitra Swags
    • Blog
      • Add New Blog !
    • FAQs
    • Community Members 💓
    • About Us
    • Contact Us

    Legal Stuff

    • Terms of use and policy