HTML <frameset> tag

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

When writing in HTML (hypertext markup language), 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, and how much space they would occupy respectively. The following sections contain information about the <frameset> tag, including an example of its code, and related attributes and browser compatibility.

Note

The <frameset> element is not supported going forward. We recommend using the <iframe> or <div> tag with CSS (cascading style sheets) 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, Container tag, Row, Web design terms