Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

What Are Frames?

At first glance, Figure 21.1 may look like an ordinary Web page, but it is actually two separate HTML pages, both displayed in the same Netscape Navigator window. Each of these pages is displayed in its own frame, separated by a horizontal bar.

21fig01.jpg

Figure 21.1 Frames allow more than one Web page to be displayed at once.

A frame is a rectangular region within the browser window that displays a Web page, alongside other pages in other frames.

The main advantage of using frames becomes apparent when a reader clicks one of the links in the top frame of Figure 21.1. The top frame will not change at all in this example, but a new page will be loaded and displayed in the bottom frame, as in Figure 21.2.

21fig02.jpg

Figure 21.2 Clicking Facts & Forecasts in Figure 21.1 brings up a new bottom page, but leaves the top frame the same.

Share ThisShare This

Informit Network