HTML <noframes> Tag

The <noframes> element once provided fallback content for browsers that did not support (or had disabled) <frameset> / <frame> layouts.

Learn it only to recognize legacy pages. For new work, use a normal <body> document with CSS layout, or <iframe> when you truly need to embed another page.

Obsolete / Deprecated.

Do not use <noframes>, <frameset>, or <frame> in new HTML. They are non-conforming. Prefer <iframe> and/or CSS.

Modern replacement.

Multi-pane UI → CSS Grid / Flexbox in one document. Embedded document → <iframe> with a clear title. Shared chrome → templates or server-side includes.

HTML Syntax

syntax.html
<frameset>… <noframes>fallback</noframes></frameset>

Historically nested inside <frameset>. Modern equivalent: a single HTML document with <body> layout, or an <iframe> when embedding is required.

Attributes

<noframes> has no element-specific attributes. Prefer these modern approaches:

ApproachDescriptionTry it
(none on noframes)Legacy frameset fallback only — study, do not shipTry it
<iframe>Embed another document when you truly need a nested browsing contextTry it
CSS GridCorrect for panes — multi-column layout in one page without framesetTry it
class / idHooks on modern layout elements (not a reason to keep noframes)Use on body content

Global Attributes

The <noframes> tag also supports the Global Attributes in HTML (legacy recognition only — do not ship new markup).

Live Preview

Modern browsers do not need <noframes>. Switch between a CSS two-pane layout and an iframe demo.

Replacements for frameset — not the obsolete <noframes> tag.

Preview
Nav pane
Main pane

CSS Grid two-pane layout

HTML Examples

Short, copy-ready snippets. Prefer the modern examples. Use Try It Yourself for a live editor.

Example 1 — Legacy <frameset> + <noframes>

Historical pattern only. Do not use in new pages.

HTML
<!-- Obsolete — study only -->
<frameset cols="30%,70%">
  <frame src="nav.html">
  <frame src="main.html">
  <noframes>
    <p>
      Your browser does not support frames.
      <a href="main.html">Continue without frames</a>.
    </p>
  </noframes>
</frameset>
Try It Yourself

How It Works

  1. Build a <frameset> with <frame> children (legacy).
  2. Add <noframes> with a useful alternate page or message.
  3. Old clients without frames could show that fallback content.
  4. Do not ship this — migrate to one document + CSS or <iframe>.

Example 2 — Embed with <iframe>

When you need a nested document today, use iframe — not frameset.

HTML
<iframe
  src="https://example.com"
  title="Example.com preview"
  width="480"
  height="200"
></iframe>
Try It Yourself

How It Works

  1. Keep a normal <body> for your page chrome.
  2. Add <iframe> only for the embedded document.
  3. Set title for accessibility.
  4. Skip noframes — iframe lives in a standard document tree.

Example 3 — Two Panes with CSS Grid

Replace classic left/right frames with one page and CSS columns.

HTML
<div class="layout">
  <nav aria-label="Side">Nav pane</nav>
  <main>Main pane</main>
</div>

<!-- CSS: .layout { display: grid; grid-template-columns: 1fr 2fr; gap: 0.5rem; } -->
Try It Yourself

How It Works

  1. Use semantic regions (<nav>, <main>) in one document.
  2. Lay them out with Grid (grid-template-columns).
  3. One URL, one history — better for users and SEO than framesets.
  4. No fallback tag needed because every browser gets the same HTML.

Edge Cases & Pitfalls

obsolete

Frameset sites are non-conforming

noframes only made sense with frameset/frame, which you should not author today.

a11y

Frames hurt navigation

Bookmarks, screen readers, and search engines struggle with multi-frame URLs. Prefer one document.

content

Message-only fallbacks

MDN notes a bare “no frames” warning is weak. Historical best practice was a full alternate site — today that means a normal body layout.

body

Frameset replaces body

Classic frameset documents did not use a normal <body>. Modern pages always do.

noscript

Wrong fallback tool

<noscript> is for scripting off — not a substitute topic for frames.

seo

Crawlability

Important content trapped only in frames was hard to index. Keep primary content in the main document.

Browser Support

The <noframes> element is obsolete HTML. It is not recommended for authors and is not a Node.js, Deno, or Bun API.

✓ Obsolete · Use iframe / CSS

<noframes>

Tied to obsolete frameset/frame. Modern browsers focus on normal documents and iframe. Do not use noframes in new pages.

0% Authoring use (new pages)
Google Chrome Legacy only
Obsolete
Mozilla Firefox Legacy only
Obsolete
Apple Safari Legacy only
Obsolete
Microsoft Edge Legacy only
Obsolete
Opera Legacy only
Obsolete
Samsung Internet Legacy only
Obsolete
Internet Explorer Legacy
Obsolete
<noframes> Do not use

Bottom line: Recognize it in archives. Build one-page layouts with CSS, or embed with iframe when needed.

Key Takeaways

  • Fact: <noframes> was frameset fallback — now obsolete.
  • Panes: use CSS Grid / Flexbox in a normal <body>.
  • Embed: use <iframe> with a meaningful title.
  • Practice: never start a new site with frameset + noframes.

One line: skip <noframes> — lay out one page with CSS, or embed with <iframe>.

Default CSS Settings

There is no useful modern authoring stylesheet for <noframes>. Layout belongs on normal document elements.

default.css
/* No standard UA rules for noframes in modern authoring.
   Prefer Grid on a layout container instead: */
.layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem;
}

Style nav, main, and other landmarks — not obsolete frames markup.

Frequently Asked Questions

noframes held alternative content for browsers that did not support (or had disabled) frameset layouts. It sat inside a frameset and could contain body-like HTML.
No. It is obsolete along with frameset and frame. Do not use it in new pages.
Do not build frameset sites. For embedding another document use iframe. For multi-pane UI use CSS Grid or Flexbox in a normal body document. The HTML Standard also suggests server-side includes for shared chrome.
Historically it could hold content allowed in body, except nested frameset and frame (those made no sense when frames were unsupported).
No. noscript is for when scripting is disabled. noframes was for frameset fallback and is obsolete.
No. Modern sites use a single document tree with CSS layout. Framing entire sites harms accessibility, bookmarking, and SEO.

Next: noscript

Continue with the HTML noscript tag tutorial.

noscript tutorial →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

10 people found this page helpful