iframe in HTML:

Iframe tag is written as (iframe>.

An iframe is used to display different document content inside the different document content in a rectangular region in the browser.
When different document content is embedded into a current HTML content, then it is known as an inline iframe.


The src attribute contains the path to the document that occupies the inline iframe.

Iframe HTML Code

(iframe src = "demo_iframe.htm" width = "300" height = "300"> Sorry your browser does not support inline frames.
(/iframe>