files/en-us/web/html/reference/elements/frameset/index.md
{{Deprecated_header}}
The <frameset> HTML element is used to contain {{HTMLElement("frame")}} elements.
[!NOTE] Because the use of frames is now discouraged in favor of using {{HTMLElement("iframe")}}, this element is not typically used by modern websites.
Like all other HTML elements, this element supports the global attributes.
cols {{Deprecated_Inline}}
rows {{Deprecated_Inline}}
A frameset document has a <frameset> element instead of a {{HTMLElement("body")}} element. The {{HTMLElement("frame")}} elements are placed within the <frameset>.
<!doctype html>
<html lang="en-US">
<head>
<!-- Document metadata goes here -->
</head>
<frameset cols="50%, 50%">
<frame
src="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/iframe" />
<frame
src="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/frame" />
</frameset>
</html>
If you want to embed another HTML page into the {{HTMLElement("body")}} of a document, use an {{HTMLElement("iframe")}} element.
{{Specifications}}
{{Compat}}