Frames Basics

9/30/99

Frames documents are special HTML documents that allow you to assign individual HTML files to parts of the browser window. The browser window is divided into smaller components using the <FRAMESET>...</FRAMESET> tags. HTML file are assigned to the various window areas using the <FRAME> tag. A third tag, <NOFRAMES> is used to include information for older browsers that cannot read frame documents. The following two examples show how the basic tags work. One example shows how to create rows and the other shows columns. (Note that since the examples are frames documents, the following links open a new browser window).

More often than not you will want to break up the browser window into more than just "halves." If neither a column nor a row spans the entire HTML window, the order of the <FRAMESET> COLS or ROWS tags is not important, as shown in the following two examples.