The Frameset Tag

ken's picture

Opening tag : <FRAMESET>
Closing tag: </FRAMESET>

Purpose:
Frames are a simple way of setting your page up, often using separate frames for navigation for example. That way when a user moves around your site they don't need to reload the same navigation pane for each page. The frameset tag defines a set of frames. Many search engines do not correctly index framed sites, and frames don't always appear consistently on different browsers. There are alternative approaches to creating frames, such as using CSS, so we recommend you don't use frames!

Attributes:
border=#
- Specifies the width of a border.

bordercolor=color
- Specifies the color of the border.

frameborder=bool
- Specifies if the frame should have a border.

Example:

<frameset>
<frame name="left" src="leftnav.htm">
<frame name="right" src="content.htm">
<noframes>
<body>
This is for browsers that can't use frames!
</body>
</noframes>
</frameset>

Related Tags:

<Frame> - Frame Tag.
<Noframes></Noframes> - Noframes Tag.

Back to:
Alphabetical Guide
Guide By Type