The <frameset> element was a container for panes. In legacy documents it replaced <body> and held <frame> children (or nested framesets).
Do not use it in new pages. Build split layouts with CSS Grid or Flexbox, and embed other documents with <iframe>. Old markup sometimes included <noframes> as a text fallback.
Deprecated · Obsolete.
Removed from the HTML living standard. Avoid in every new project — prefer CSS layout or <iframe>.
Not a layout tool for modern HTML.
A frameset document had no normal <body>. Today one document plus CSS (and optional iframes) covers the same goals more safely.
Syntax
HTML Syntax
syntax.html
<frameset cols="sizes">…</frameset>
Historical form only. Children were <frame>, nested <frameset>, or <noframes>. Prefer this modern approach for a two-pane page:
Define a grid with columns, rows, and named areas.
Assign each region with grid-area.
Add <iframe> only if a pane must load a separate document.
Edge Cases & Pitfalls
Most mistakes treat framesets like modern layout or mix them with a normal body.
obsolete
No <body> with frameset
Legacy frameset documents used <frameset> instead of <body>. Mixing both was invalid.
count
Pane count must match sizes
If cols lists three sizes, you need three child panes (frames or nested framesets).
a11y
Multi-document UX
Separate documents per pane hurt titles, focus order, and screen readers. Prefer one page.
seo
Weak for search and sharing
Users saw a composite window; crawlers and bookmarks often saw only one pane URL.
naming
frameset ≠ CSS grid
Do not reach for frameset when you only need columns. Use CSS Grid or Flexbox in a normal document.
Compatibility
Browser Support
Authors must not use <frameset>. Engines may keep limited legacy behavior for old documents; HTML5 sites should use CSS or <iframe>.
✓ Deprecated · Obsolete
<frameset>
Obsolete in the HTML living standard. Do not rely on frameset support in modern documents. Migrate to CSS Grid for layouts and iframe for embeds.
N/ADo not use in new HTML
Google ChromeLegacy only
Do not use
Mozilla FirefoxLegacy only
Do not use
Apple SafariLegacy only
Do not use
Microsoft EdgeLegacy only
Do not use
OperaLegacy only
Do not use
Samsung InternetLegacy only
Do not use
Internet ExplorerLegacy
Do not use
<frameset>Obsolete (use CSS / <iframe>)
Bottom line: Recognize <frameset> in old markup, then replace with CSS or <iframe>. Never add frameset to new documents.
Remember
Key Takeaways
Role:<frameset> held panes and replaced <body> — now obsolete.
Sizes:cols for columns, rows for stacked bands.
Replace layouts: CSS Grid or Flexbox in one document.
Replace embeds: titled <iframe> when a nested document is required.
One line: never write <frameset>; write CSS Grid (or <iframe>) instead.
UA style
Default CSS Settings
<frameset> was a special document root for panes, not a normal flow box. There is no useful modern default to copy. For layouts today:
default.css
.layout {
display: grid;
grid-template-columns: 30% 70%;
/* or grid-template-rows for stacked panes */
}
Size regions with CSS. Do not revive frameset presentation attributes on new pages.
Frequently Asked Questions
The frameset element replaced body in legacy documents and held one or more frame panes (or nested framesets) so the browser window could show a multi-pane layout.
No. frameset and frame are obsolete and removed from the HTML living standard. Do not use them in new projects.
cols splits the window into vertical columns (side-by-side panes). rows splits it into horizontal bands (stacked panes). Values were sizes like percentages, pixels, or * for remaining space.
Use CSS Grid or Flexbox for multi-pane layouts of your own content. Use iframe only when you need to embed another document.
Yes historically — nested framesets built more complex grids. That pattern is obsolete; nest CSS grid areas instead.
noframes sat inside frameset and held fallback content for browsers without frames. It is obsolete along with frameset.