• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

What is the purpose of iframe in HTML?

Started by grofee, March 17, 2022, 11:21:50 AM

WordPress Premium Themes


grofee

HTML Iframe is used to display a nested webpage (a webpage within a webpage). The HTML <iframe> tag defines an inline frame, hence it is also called as an Inline frame. An HTML iframe embeds another document within the current HTML document in the rectangular region. The webpage content and iframe contents can interact with each other using JavaScript.
Iframe Syntax:
<iframe src="URL"></iframe> 
Here, "src" attribute specifies the web address (URL) of the inline frame page.

WordPress Premium Themes