Book HomeWeb Design in a NutshellSearch this book

14.2. Introduction to Frames

Frames allow you to divide the browser window into smaller subwindows, each of which displays a different HTML document. Introduced by Netscape Navigator 2.0, frame support was soon added by other popular browsers. The basic frame specification works with Netscape Navigator 2.0 and higher as well as Microsoft Internet Explorer 3.0 and higher. As of this writing, frames have found their way into the World Wide Web Consortium's HTML 4.01 specification.

Despite the advanced navigational functionality that frames offer, they do present certain problems and peculiarities that have lead to their currently controversial status. In fact, they've become so notorious that it is not uncommon for web developers to encounter clients who, despite not knowing a lick of HTML themselves, strongly proclaim, "No frames!" at the beginning of a project.

Like most things, frames are neither all good nor all bad. It is your responsibility to be familiar with both sides of the coin so you can help present the best solution for your clients' needs.

14.2.1. Advantages

Consider these advantages to using frames:

14.2.2. Disadvantages

Also keep in mind these disadvantages:

That said, let's look at how framed documents are constructed.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.