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.
Advantages
Consider these advantages to using frames:
The main advantage to frames is that they enable parts of the page to remain stationary while other parts scroll. This is useful for elements you may not want to scroll out of view, such as navigational options or banner advertising.
Frames unify resources that reside on separate servers. For instance, you may use frames to combine your own material (and navigation graphics) with threaded ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access