|
![]() |
The frameset file is the file you point your browser to.
The frameset file uses
<FRAMESET ...><FRAME ...> |
![]() |
The browser goes out again and retrieves the files which will appear on the page. |
![]() |
The browser puts all the files on one page in separate rectangles ("frames"). The user never sees anything from the original frameset file. |
Think of frames as creating a "table of documents" on the page. Like a table, a group of frames has rows and columns. Each cell of the table contains a document which is stored in a separate file.
<FRAMESET ...><FRAME ...>
Let's look in more detail at the example above. The entire contents of basicframeset.html (the frameset file) look like this:
| This code | ... creates this page (here's the real thing) |
<HTML> <HEAD> <TITLE>A Basic Example of Frames</TITLE> </HEAD> <FRAMESET ROWS="75%, *" COLS="*, 40%"> <FRAME SRC="framea.html"> <FRAME SRC="frameb.html"> <FRAME SRC="framec.html"> <FRAME SRC="framed.html"> <NOFRAMES> <H1>No Frames? No Problem!</H1> Take a look at our <A HREF="basic.noframes.html">no-frames</A> version. </NOFRAMES> </FRAMESET> </HTML> |
![]() |
Here's a line-by-line explanation of each piece of code for the frames:
<FRAMESET
ROWS="75%, *"
COLS="*, 40%">
<FRAME SRC="framea.html">
<FRAME SRC="frameb.html">
<FRAME SRC="framec.html">
<FRAME SRC="framed.html">
<NOFRAMES> ...
</NOFRAMES>
<NOFRAMES><FRAMESET ...></FRAMESET>
</FRAMESET>
There are several other aspects of frames to note from this example:
<FRAMESET ...><BODY ...><BODY ...><BODY ...><NOFRAMES><HEAD><TITLE>
COLS="25%, *, 40%"COLSROWS
COLS|
Recommended Resources |
|||
| web hosting tutorials Credit Help |
Search the Internet Search Engine Help |
Low Fat Lifestyle Internet Traffic |
Web
Hosting Web Design |
|
Discount
Hotel Reservations All
Rights Reserved, Copyright © Free-HTML-Tutorials.com 2003 |
|||