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. Iframe is basically used to show a webpage inside the current web page.
 The src  attribute is used to specify the URL of the document that occupies the iframe.


<!DOCTYPE html>






            <h4> The content goes here</h4><br>

<iframe height=”500px” width=”70%” src=””></iframe>



In summary we have learnt that HTML iframe is used to display a web page within a web page.

The HTML <iframe> tag specifies an inline frame.

An inline frame is used to embed another document within the current HTML document.

  • The HTML <iframe> tag specifies an inline frame
  • The src attribute defines the URL of the page to embed
  • Always include a title attribute (for screen readers)
  • The height and width attributes specifies the size of the iframe

Use border:none; to remove the border around the iframe

Scroll to Top