ADDITIONAL LAYOUTS   Basic code for a sampling of framesets, less the attributes (resize, scrolling, marginheight and marginwidth) for purposes of clarity.


<frameset cols="20%,*">
     <frame name="left" src="col1.html">
     <frame name="right" src="col2.html">
</frameset>
Left Right
Targeting the right frame from the left frame:
    An anchor tag in the col1.html document might be coded <a href="page1.html" target="right"> Page 1 </a>. When Page 1 is clicked on in the left frame, the page1.html document will replace the col2.html document that was loaded in the right frame of the initial frameset. Similarly, additional anchor tag sets may be included in the col1.html document that will target the right frame. While it is not necessary to name all frames in a frameset, it is necessary to name any that are targeted.

prntmrk.gif (235bytes)

<frameset cols="20%,*">
     <frame name="left" src="col1.html">
     <frameset rows="33%,33%,*">
        <frame name="top" src="row1.html">
        <frame name="middle" src="row2.html">
        <frame name="bottom" src="row3.html">
     </frameset>
</frameset>
Left Top
Middle
Bottom

prntmrk.gif (235bytes)

<frameset cols="80%,*">
     <frameset rows="33%,33%,*">
        <frame name="top" src="row1.html">
        <frame name="middle" src="row2.html">
        <frame name="bottom" src="row3.html">
     </frameset>
     <frame name="right" src="col2.html">
</frameset>
Top Right
Middle
Bottom

prntmrk.gif (235bytes)

<frameset rows="15%,*">
     <frame name="upper" src="row1.html">
     <frame name="lower" src="row2.html">
</frameset>
Upper
Lower

prntmrk.gif (235bytes)

<frameset rows="20%,*">
     <frame name="header" src="row1.html">
     <frameset cols="20%,*">
     <frame name="left" src="col1.html">
     <frame name="right" src="col2.html">
     </frameset>
</frameset>
Header
Left Right

All of these examples can be adjusted in size to meet the needs of your task. Comparing the code to its illustration should aid in the further understanding of frameset layouts and how you might develop others. Remember, frame sizes may be specified in pixels as well as percentage.