Chapter 10. Frames
IN THIS CHAPTER
Framesets and frame documents
Targeting links to frames
Several years ago, almost every document on the Web contained frames. The frameset structure provided an easy way to create multiple, separate scrolling areas in a user agent window and a flexible mechanism to modify the content of frames.
However, frames have turned out to be more of a fad. You can have many of the benefits realized by using frames through the infinitely more flexible and powerful CSS formatting methods.
That said, frames still have their uses and have even spawned their own official Document Type Definitions (DTDs) to handle their special tags and needs. This chapter introduces the concept of frames and shows you how to add them to your documents.
At their simplest level, frames provide multiple separately scrollable areas within one user window. Many non-Web applications use the concept of separate panes to help their organization and controls. For example, Figure 10-1 shows Windows Explorer using the left pane to display folders and the right pane to display files within the selected folder.
As you have no doubt noticed, the different panes in applications such as Windows Explorer can be manipulated separately from other panes. The same is true for documents utilizing frames.