The <frameset> tag is not supported in HTML5.
HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document. A collection of frames in the browser window is known as a frameset. The window is divided into frames in a similar way the tables are organized: into rows and columns.
The <frameset> element specifies HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them.
HTML frames allow authors to present documents in multiple views, which may be individual windows or subwindows.
The Following is example of simple Three Frame Page
<!DOCTYPE html>
<html>
<frameset cols ="30%,40%,30%">
<frame src="e:\Students\main1.html">
<frame src="e:\Students\main2.html">
<frame src="e:\students\main3.html">
</frameset>
</html>
Save this file as frame1.html
Code Of main1.html is as follows
<!DOCTYPE html>
<html>
<head>
<title> Good Morning </title>
</head>
<body>
<p> Welcome To My Page </p>
<img src="e:\Students\1.jpg" height="200" width="200"/>
</body>
</html>
Code of Main2.html is as follows
<!DOCTYPE html>
<html>
<head>
<title> Good Morning </title>
</head>
<body>
<p> Welcome To My Page </p>
<img src="e:\Students\2.jpg" height="200" width="200"/>
</body>
</html>
No comments:
Post a Comment