| You are here: NetStrider » Tutorials » HTMLRef » Frames » Introduction « |
| Introduction |
|
You are viewing a framed document. The display consists of four static frames
defined by two framesets. Each frame contains its own HTML document
which is loaded and displayed independently of the documents displayed in any other frame.
That is the unique capability of the framed document. HTML code can be targeted
to, loaded dynamically and displayed independently in any defined frame without altering
the fundamental display characteristics of the underlying design of the document
frame structure or changing the contents of any other frame.
There are advantages and disadvantages to framed HTML documents.
Earlier versions (2.x and below) of all browsers are not capable of displaying framed documents so it is advisable to include a <BODY> HTML Document Segment following the frameset enclosed within the <NOFRAMES> </NOFRAMES> command tag pair. Browsers which are not frames capable will selectively ignore the frameset and load the code contained within the noframes HTML Document Segment. Many Internet users do not like framed documents because they are prone to display difficulties generally caused by poor coding. It is advisable to provide a means to escape to a non-framed alternative and a means to clear the existing frameset and replace it with a fresh one. Many HTML developers fail to provide these alternatives, which has probably helped to foster a general aversion to framed documents. Framed documents require considerably more effort to develop and maintain than non-framed documents. Their use should be restricted to applications in which the special features they offer are necessary. Some of the display functions of frames can be accomplished with tables. |