Example Frameset

All of your website content will be one this side of the divide.

The type of code that would make this layout looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<head><title>My First Frame Page</title>

<frameset cols="30%,70%">
<frame src="nav.html">
<frame src="content.html">


And the inset pages, nav.html and content.html are written like any other normal HTML page. Click a link in the navigation frame to see how cross-frame links work using the target attribute.

Also, if you resize your window you should be able to see that scrollbars appear if the window is too small to hold all the content.

There should be enough text on this page for you to be able to appreciate the way you can scroll one frame while the other stays perfectly still.