<frameset> Description:
The <frameset> element defines the container for a framed Web page.
<frameset> Web Browser Support:
- Netscape 2, 3, 4, 6, 7
- Mozilla 1
- Firefox 1
- Internet Explorer 3, 4, 5, 6
- Opera 3, 4, 5, 6, 7, 8
- Safari 1
- WebTV/MSN TV
- 4.0
- XHTML 1.0 Frames Module XHTML Intrinsic Events Module
<frameset> Attributes:
- border (optional)
- bordercolor (optional)
- class (optional)
- cols
- frameborder (optional)
- framespacing (optional)
- id (optional)
- onload (optional)
- onunload (optional)
- rows
- scrolling (optional)
- style (optional)
- title (optional)
<frameset> End Tag:
</frameset> REQUIRED<frameset> Contents:
frames and noframes content The following tags are valid within the <frameset> tag:
- frame
- frameset
- noframes
<frameset> Valid Context:
The <frameset> tag is valid within the following tags:
- frameset
- HTML
<frameset> Usage:
- three column frameset
<frameset cols="30%,20%,*" scrolling="auto">
<frame src="frame1.html">
<frame src="frame2.html">
<frame src="frame3.html">
<noframes>
noframes content
</noframes>
</frameset> - nested frameset (to create a top row, and two columns in the bottom row)
<frameset rows="50,*">
<frame src="topframe.html">
<frameset cols="100,*">
<frame src="leftframe.html">
<frame src="rightframe.html">
</frameset>
<noframes>
noframes
</noframes>
</frameset>
<frameset> Special Notes:
- Be careful of the attributes you use in your frameset. The above attributes that are not marked as HTML 4.0 are not part of the specification.
- If you use frames, you must use the frameset DTD:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
- When using frames, remember that they are not accessible, and you should always use a <noframes> section.
- Because the two major browsers use different codes for the frameborder it's a good idea to use the attribute twice (see example above).

