Articles → HTML → iFrame tag in HTML

iFrame tag in HTML






Purpose





Syntax


<iframe src="source"></iframe>



Example


<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  <body>
    <iframe src="Page2.html"></iframe>
  </body>
</html>



Output


Picture showing the output of iFrame tag in HTML

Click to Enlarge


Browser support


Internet ExplorerFirefoxChromeSafariOperaEdge
YesYesYesYesYesYes



Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, November 1, 2016
 
Updated On  -  Saturday, November 18, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250