Free HTML 5 tutorials with html codes examples Creating HTML Iframes n Frames

Free HTML 5 tutorials with html codes examples part1
Free HTML 5 tutorials with html codes examples part2
Part3 :
Here we will try to learn how to add a webpage on another webpage inside a frame. That’s called Iframes. Creating Iframes with html5.It will help you to show a webpage in a frame on another page.
Watch the code n output that shown in the box below for HTML Iframes.






Now we want to show our webpage “My world” in a frame.
Write the below code in a text document and save it with a name.html extension. As example Iframe.html




Now we want to show our webpage “My world” in a frame.
Write the below code in a text document and save it with a name.html extension. As example Iframe.html

<html>
<body>
<h2>HTML Iframe example<h2>
<iframe src="http://aishi-myworld.blogspot.com/" widthe="550" hight="300"></iframe>
</body>
</html>

Change the link n frame size for practice. If you run the code you will see such output: 


Now watch these code for Frames :If you want to show many page within a frame   

<html>
<frameset cols="50%,50%">
<frame src="http://newsmedia99.com/" />
<frame src="http://aishi-myworld.blogspot.com/" />
</frameset>
</html>

Here <frameset cols="50%,50%"> its define the number of columns and their size.If you want to use more webpage link then define that in the segment.
The output:  





More HTML example code available here >>>>>>>>>>>