HTML <frameset> tag

Updated: 11/13/2018 by Computer Hope
HTML frameset tag

When 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) in 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 of <frameset> code

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

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.

Compatibility

Edge Internet Explorer Firefox Safari Opera Chrome
Not supported Not supported Not supported Not supported Not supported Not supported

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