HTML Reference ยท Obsolete Elements
The <noframes> element (obsolete)
The HTML <noframes> element held fallback content for browsers without frame support. Learn why it is obsolete and why modern pages no longer need it.
The <noframes> element held fallback content for browsers that couldn't display frames. It sat inside a <frameset>, usually with a short message and a link to a frame-free version of the site.
Why it's obsolete
It existed only to support <frame> and <frameset>, so when HTML5 made frames obsolete, <noframes> went with them. Every browser in use today understands frames, which meant the fallback was no longer shown to anyone anyway.
Browsers never display its contents. The HTML parser treats everything inside <noframes> as raw text, and the element is hidden with display: none.
Modern replacement
There is nothing to replace: build the page without frames and the fallback becomes unnecessary. If you embed a document with <iframe>, give it a title, and put any alternative (such as a direct link) next to it on the page, since anything placed inside <iframe> itself is ignored.
<!-- Before: obsolete --> <frameset cols="30%,70%"> <frame src="toc.html"> <frame src="intro.html"> <noframes> <p>This site uses frames. <a href="intro.html">Read the introduction</a>.</p> </noframes> </frameset>
Technical summary
| Status | Obsolete (non-conforming) |
| Replacement | None needed; build pages without frames |
| Still rendered by browsers | No; its content is never displayed |
Related
<frameset>โ the obsolete frame container<frame>โ a single obsolete frame<noscript>โ fallback content for when scripting is off- Lesson: Deprecated and Obsolete Features