Thursday, October 19, 2017

CLASS 12 - HOW TO CREATE AN IFRAME IN HTML USING <IFRAME>TAG?

What is an iframe in HTML? How we create iframe in HTML?

<iframe>, <frameborder>, <height>, <width>, <scrolling>, <align> these tags are used in creating an iframe section on HTML page.

What is iframe?

iframe is a part or section of any html page on which we can show the content of complete web page of the same page or external page as an information or as an advertisement.

File Name:  "iframes.html"

<html>
<body>
<h3>Here, I am showing an iframe which is a page from one of my other blogs about POWER POINT <br/><br/>
<a href="https://agrpowerpnt.blogspot.com" target="_blank">https://agrpowerpnt.blogspot.com</a>
</h3>
<iframe src="https://agrpowerpnt.blogspot.com" frameborder="1" height="450px" width="1200px" scrolling="yes">
<p>Your browser does not support iframes concept. </p>
</iframe>
</body>
</html>

OUTPUT:


Watch the below video for more details on the above program:





*************************************************************************

No comments:

Post a Comment