HTML <noframes> Tag Not Supported in HTML5

Topic: HTML5 Tags Reference« Prev|Next »

Description

The <noframes> tag specifies fallback content that should be displayed only by the browsers that do not support frames or are configured not to display frames. It can contain all the HTML elements that can be placed inside the <body> element of a normal HTML page.

The following table summarizes the usages context and the version history of this tag.

Placement: Block
Content: <body> (when used inside <frameset>), block, inline, and text
Start/End Tag: Start tag: required, End tag: required
Version: HTML 4, 4.01 (frameset)
 

Warning:The <frameset>, <frame>, and <noframes> elements has been removed in HTML5 and should no longer be used. You should use HTML <iframe> instead.


Syntax

The basic syntax of the <noframes> tag is given with:

HTML / XHTML: <noframes> ... </noframes>

The example below shows the <noframes> tag in action.

  • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
        "http://www.w3.org/TR/html4/frameset.dtd">
  • <html>
  • <head>
  •     <title>This is a frameset document.</title>
  • </head>
  • <frameset>
  •     <frame src="sample-a.html" name="frame-a">
  •     <frame src="sample-b.html" name="frame-b">
  • <noframes>
  •     <p>Here is the <a href="noframes.html">non-frame based version of the document.</a></p>
  • </noframes>
  • </frameset>
  • </html>

Tag-Specific Attributes

The <noframes> tag doesn't have any specific attribute.


Browser Compatibility

The <noframes> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 1+
  • Google Chrome 1+
  • Internet Explorer 2+
  • Apple Safari 1+
  • Opera 4+

Further Reading

See tutorial on: HTML Iframes.

Related tag: <frameset>, <frame>, <iframe>.

 
Close

Your Feedback:

 

We would love to hear from you! Please say something.