HTML - iFrame

In HTML iframe is used to display a web page within a web page.



Syntax


<iframe src="URL"> 

Example


<iframe src="test.htm"> </iframe>
							

iframe with height and width

 
<iframe src="test.htm" height="400px" width="500px"> </iframe>
							

iframe with border


<iframe src="test.htm"border="5"> </iframe>
							

iframe without border


<iframe src="test.htm" style="border:none;"> </iframe>
							
Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit