Frames allow you to break up the browser window into several pieces. Each section can display a
different HTML file.
Frames quickly became very popular when they were first introduced by browsers in HTML 3.2.
They became popular because they could make a web site much easier to keep up to date. A web master
could now put all the repetitive information in a separate file. When the repetitive information
changed, it was easy to modify the web site by editing one file.
Unfortunately, frames can cause usability problems
for users and should be avoided whenever possible. Other, newer methods of storing repetitive
information in a separate file have been developed. Server Side Includes and 'Shared
Borders' in FrontPage are examples of solutions that offer the benefits of
frames without the usability problems that they cause.
<html> <head> <title>A simple frameset document</title> </head> <frameset cols="10%, 90%"> title="Our library of electronic documents" <frame src="nav.html" title="Navigation bar"> <frame src="doc.html" title="Documents"> </frameset>
<frameset cols="10%, 90%" title="Our library of electronic documents"> <frame src="nav.html" title="Navigation bar"> <frame src="doc.html" title="Documents"> </frameset>
<noframes> <A href="noframes.html" title="Library link"> Select to go to the electronic library</a> <p><a href="frameset-desc.html">Descriptions of frames.</a></p> </noframes>