Frames

What are Frames?

Here is a link to this lecture in a frame. (If you're already in a frame, it might be amusing to click on this link again.)

If you're already viewing this page within frames and you'd like to escape, you can either use the "back" button or follow this link to escape from the frame

How to Make Frames

<html>
    <head>
      <title>Frames</title>
    </head>
         
    <frameset cols="130,*">
         
      <frame src="toolbar.html" name="toolbar">
      <frame src="index.html" name="notes">
         
    </frameset>
</html>

Advantages of Frames

Link Targets

Frames introduce a whole new twist on hyperlinks, because now you have to determine not only where to go, but what frame to put the result in. It's done with the TARGET attribute. Here's an example of the code:

<a href="http://www.wellesley.edu/" target="theOtherFrame">

Disadvantages

© Computer Science 110 Staff
This work is licensed under a Creative Commons License
Date Modified: Thursday, 24-Jan-2008 12:34:37 EST