http://fishcaro.crosswinds.net/day_36_intro_to_frames.htm
INDEX CARD #36:
INTRODUCTION TO FRAMES (36a)Although frames offer lots of flexibility in web page design, many designers avoid them because they are supported unevenly by current browsers. Basic frames are supported by Netscape Navigator 2.0 and higher, and by Microsoft Internet Explorer 3.0 and higher. To work with frames, you must understand the difference between rows and columns. See below:
| ||||||
USES FOR FRAMES (36b)
|
ADVANTAGES OF FRAMES (36c)
|
DISADVANTAGES OF FRAMES (36d)
|
BASIC FRAME STRUCTURE (36e)sample_file.htm .
Notice that it doesn't have a <BODY> tag; instead,
it has a <FRAMESET> tag that describes the desired
row/column structure.
<HTML> <FRAMESET COLS="*,*"> <FRAME SRC="left.htm"> <FRAME SRC="right.htm"> </FRAMESET> <NOFRAMES>Your browser does not support frames.</NOFRAMES> </HTML>Next, save the following two files as left.htm and right.htm , respectively.
| ||
TAGS for the BASIC FRAME STRUCTURE (36f)
|
Printable version of Index Card 36a
Printable version of Index Card 36b
Printable version of Index Card 36c
Printable version of Index Card 36d
Printable version of Index Card 36e
Printable version of Index Card 36f
WORKSHEET #36:
COLS
attribute
by refining your code, as follows:
top.htm
and bottom.htm
, containing the sentences "This is the
top frame" and "This is the bottom frame", respectively. Repeat the exercises
above, this time using the ROWS
attribute in the FRAMESET
tag.ASSIGNMENT #36: