NAMING FRAMES

 

GENERAL INFORMATION

 

When you create frames, you can give each one a name. 

 

Usually, it is best to pick a name that relates to the location of the frame on the screen. 

 

The reason we name frames is that we can then make links open HTML documents in specific frames.  We specify the frame in the link tag using the target attribute.

 

Example:

 

            The following link will open the document in the frame called leftFrame:

 

            <a href="otherPage.html" target="leftFrame">Click here</a>

 

LOCATION OF USE

           

This is a typical frame tag without a name.

 

<frame src="frame_a.htm">

 

            This is the same tag adding a name for the frame.  The frame will be called leftFrame.

 

<frame src="frame_a.htm" name="leftFrame">

 

COMMON ERRORS

 

 

EXAMPLE

 

            None available yet.