0

What is an iframe used for?

author
subina kallyani
easy
1
331

Answer

An iframe (Inline Frame) is used to embed another webpage inside your current webpage.

Common uses of iframes:

  1. Embedding YouTube videos
  2. Showing Google Maps
  3. Loading external websites or documents
  4. Displaying ads or third-party widgets

Example:


<iframe src="https://example.com"></iframe>


In short:
An iframe lets you display external content inside your webpage without redirecting the user.

Click to Reveal Answer

Tap anywhere to see the solution

Revealed

Comments0
    What is an iframe used for? - iframe | EBAT