HTML <frameset> tag

Updated: 10/11/2017 by Computer Hope

HTML frameset tagWhen writing in HTML, the <frameset> tag was used to contain a set of <frame> elements. It also designated the number of columns or rows (frames) within the frameset, as well as how much space they would occupy respectively. The following sections contain information about the <frameset> tag, including an example of its code, as well as related attributes and browser compatibility.

Note: The <frameset> element will not be supported going forward. We recommend using either the <iframe> or <div> tag along with CSS to achieve a similar effect.

Example code

<frameset cols="25%,25%,50%">
<frame src="frame1.htm">
<frame src="frame2.htm">
<frame src="frame3c.htm">

Old Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The <frameset> tag is deprecated, but at one time it utilized the unique attributes contained in the following table.

Attribute Description
cols Designates the number of columns in a frameset
rows Designates the number of rows in a frameset


Internet Explorer Firefox Safari Opera Chrome
All versions * All versions * All version * All versions * All versions *

*Until it is removed in a future version of HTML

Browser, Code, Column, Compatibility, Row, Web design terms