nesting example


<frameset>

Browser
Internet Explorer Firefox Opera

The window can be divided into vertical frames and horizontal frames by nesting FRAMESET tags.


Nested FRAMESET tags

Example page

The window is first divided into vertical frames, and next the right frame is divided into horizontal frames.

<html>
<head>
<title>TAG index</title>
</head>

<frameset cols="200,*"> : Divided into vertical frames

<frame src="example1.html"> : example1.html is displayed in the left frame

<frameset rows="100,*"> : Divided into horizontal frames
<frame src="example2.html"> : example2.html is displayed in the right top frame
<frame src="example3.html"> : example3.html is displayed in the right bottom frame
</frameset> : End of horizontal frames

<noframes>
<body>
<p>Alternate content</p>
</body>
</noframes>

</frameset> : End of vertical frames

</html>

Example

Complex nesting

<html>
<head>
<title>TAG index</title>
</head>

<frameset rows="10%,80%,10%">
<frame src="example.html">

	<frameset cols="100,*,100">
	<frame src="example.html">

		<frameset rows="50%,50%">
		<frame src="example_b.html">
		<frame src="example.html">
		</frameset>

	<frame src="example.html">
	</frameset>

<frame src="example.html">

<noframes>
<body>
<p>Alternate content</p>
</body>
</noframes>

</frameset>

</html>
Output