Coding frames
Frames use the <FRAMESET></FRAMESET> tag. The <FRAMESET> tag has two standard modifiers: COLS= and ROWS=. Later on, you'll see how these affect the page.
After the frame is set, the <FRAME> tag is used. the <FRAME> tag does not close.
The first modifier for <FRAME> is NAME=. This is used to name the frame. The NAME= modifier works hand-in-hand with the TARGET= modifier for the <A> tag. The next modifier is SRC=. The SRC= modifier tells what the initial file is. SCROLLING= is also a modifier. SCROLLING= does just what it says - it enables (or disables) the user to scroll in the frame. This modifier can be set to auto, yes, or no.
The frames on this site use this code:
<frameset cols="100%" rows="27%,*" border=0 frameborder=no>
<frameset cols="50%,*">
<frame name="top" src="top.html" scrolling=no>
<frame name="sidebar" src="sidebar.html" scrolling=no>
</frameset>
<frame name="main" src="main.html" scrolling="auto">
</frameset>
In the <FRAMESET> tag above, the border=0 and frameborder=no> gets rid of the sizeable borders on the page. Finally, on the ROWS= modifier, it sets the top half of the site to 27% of the entire page and the star (*) says that the rest of the space left is for the bottom frame. The following image describes it better:
