Get to know MDN better
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The <frameset> HTML element is used to contain <frame> elements.
Note: Because the use of frames is now discouraged in favor of using <iframe>, this element is not typically used by modern websites.
Like all other HTML elements, this element supports the global attributes.
colsThis attribute specifies the number and size of horizontal spaces in a frameset.
rowsThis attribute specifies the number and size of vertical spaces in a frameset.
A frameset document has a <frameset> element instead of a <body> element. The <frame> elements are placed within the <frameset>.
If you want to embed another HTML page into the <body> of a document, use an <iframe> element.
| HTML # frameset |
Enable JavaScript to view this browser compatibility table.
This page was last modified on May 9, 2026 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.