Idocs Guide to HTML

Frames

Contents

Frames Tutorial
Nested Framesets
Targeting Frames
Targeting the Whole Window
Yes, We Have NOFRAMES
No Borders Between Frames
Don't Get Framed
Do Get Framed
Should You Use Frames?

<FRAMESET ...>
<FRAME ...>
<NOFRAMES>
<IFRAME ...> Inline Frame

Frames Tutorial next page

Note: Frames have been deprecated by W3C, and rightfully so. Frames were cool, but they never really lived up to their promise of allowing the designer to build web pages from composites of other pages. You might want to check out XDO for a better way to build pages.

Frames allow you to divide the page into several rectangular areas and to display a separate document in each rectangle. Each of those rectangles is called a "frame". Frames are very popular because they are one of the few ways to keep part of the page stationary while other parts change. Frames are also one of the most controversial uses of HTML, because of the way the frames concept was designed, and because many web framed web sites are poorly implemented.

We start of this section with a tutorial on creating frames. We'll start with a simple set of frames, move into more advanced frames pages, and then show some special techniques for using frames.


Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.