Webmaster Resources Center

Welcome to the Bravenet Resource Center. Use these resources to help make your web pages more advanced and fun to use.

Quick Reference Sheets for Webmasters

Quick Reference sheets are packed full of useful information for all webmasters.

HTML Reference Sheet

Using Frames

HTML frames allow authors to present documents in multiple views, which may be independent windows or subwindows. Multiple views offer designers a way to keep certain information visible, while other views are scrolled or replaced.

For example, within the same window, one frame might display a static banner, a second a navigation menu, and a third the main document that can be scrolled through or replaced by navigating in the second frame.

Here is a simple frame document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>A simple frameset document</title>
</head>
<frameset cols="20%, 80%">
<frameset rows="100, 200">
<frame src="contents_of_frame1.html">
<frame src="contents_of_frame2.gif">
</frameset>
<frame src="contents_of_frame3.html">
<noframes>
<p>
This frameset document contains:
</p>
<ul>
<li><a href="contents_of_frame1.html">Some neat contents</a></li>
<li><img src="contents_of_frame2.gif" alt="A neat image"></li>
<li><a href="contents_of_frame3.html">Some other neat contents</a></li>
</ul>
</noframes>
</frameset>
</html>

If the browser used to view the above example supports frames, it will look something like this:

Frame Illustration

If the browser can't display frames os ir configured not to, it will render the contents of the noframes element.

We will take a more in depth look at frames in the HTML Tag List.