HTML Frames



Frames - Give you the ability to show more than one html file on a single page.  They allow you to divide up the display area of your browser into cells. Each cell has a name and an hmtl file to display.

Basics

Example 1  Frameset with two rows and two columns

<HTML>
<HEADER>
</HEADER>
<FRAMESET ROWS = "20%,*" COLS = "30%,*">
<FRAME SRC = "http://www.google.com" SCROLLING=YES>
<FRAME SRC = "http://www.yahoo.com" SCROLLING = NO>
<FRAME SRC = "http://www.espn.com" SCROLLING = YES>
<FRAME SRC = "http://www.fgcu.edu" SCROLLING = AUTO>
</FRAMESET>
</HTML>

Example2 Frameset within a Frameset, Google is across the top, the other four are in a 2x2 grid below it.

<HTML>
<HEADER>
</HEADER>
<FRAMESET ROWS = "20%,*" COLS = "*">
<FRAME SRC = "http://www.google.com" NAME = GOOGLE SCROLLING=YES>
<FRAMESET ROWS = "50%,*" COLS = "50%,*">
<FRAME SRC = "http://www.espn.com" NAME = ESPN SCROLLING = YES>
<FRAME SRC = "http://www.yahoo.com" NAME = YAHOO SCROLLING = AUTO>
<FRAME SRC = "http://www.msnbc.com" NAME = MSNBC SCROLLING = YES>
<FRAME SRC = "http://www.fgcu.edu" NAME = FOX SCROLLING = YES>
</FRAMESET>
</FRAMESET>
</HTML>