The HTML frame elements let you partition the canvas area of the browser into multiple windows called frames. Each frame can display a separate, independent HTML document. The use of frames has become a subject of controversy on the Web. In many cases, framed Web sites are poorly designed. They detract from the user's experience with heavy download times and confusing navigation.
The judicious use of frames, however, can enhance your Web site, allowing you to consistently display navigation information and content concurrently. Frames can be the right solution for specific information problems or for providing large collections of content. This chapter explains how to work with frames to display your information effectively.
Download the Working with Frames PDF file. The exercise and example files are listed below.
Frame Examples
Figure 1: Typical frameset
Figure 2: Frames Can Aid Navigation
Figure 3: Two-row frameset
Figure 4: Two-column frameset
Figure 5: Nested Frameset
Figure 6: Default resizing
Figure 7: Unnecessary default scroll bar
Figure 8: Frame with no scroll bar
Figure 9: Frame borders turned off
Figure 10: Frame borders and margins removed
Figure 11: Targeting from one frame to another
Figure 14: Using _blank lanuches a second browser window
Figure 15: Using _top loads at the top level of the same window
Figures 18 & 19: Designing Frame Content
Figure 20: Fixed top row variable second row
Figure 21: Three-row frameset with variable middle row
Exercise Source Files
This zip file contains the source files for the frameset exercise beginning on page 27 of the PDF file.