Nesting of Frames

line.gif

When partitioning browser window space, nesting of frames may be very useful. The example below shows how to nest frames.

<html>
<head>
<title>Nested Frame Example/title>

<frameset rows="50%,*">

  <frameset cols="33%,*">
    <frame src=frameA.htm>
    <frame src=frameB.htm>
  </frameset>

  <frameset cols="66%,*">
   <frame src=frameC.htm>
   <frame src=frameD.htm>
  </frameset>

</frameset>

</head>
</html>

To see this example in action, take this link. To return to this document, use the browser's back button. When considering the above code, the following points apply.

Using nested framesets, complex subdivisions of the browser window may be achieved.

The next chapter next.gif discusses cascading style sheets.