W3cubDocs

/HTML

<frameset>

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> 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 web sites.

Attributes

Like all other HTML elements, this element supports the global attributes.

cols
This attribute specifies the number and size of horizontal spaces in a frameset.
rows
This attribute specifies the number and size of vertical spaces in a frameset.

Example

<frameset cols="50%,50%">
  <frame src="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset" />
  <frame src="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame" />
</frameset>

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
frameset Yes 12 Yes Yes Yes Yes
cols Yes 12 Yes Yes Yes Yes
rows Yes 12 Yes Yes Yes Yes
Mobile
Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
frameset Yes Yes Yes Yes Yes Yes
cols Yes Yes Yes Yes Yes Yes
rows Yes Yes Yes Yes Yes Yes

See also

© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset