<noframes>

  • Revision slug: Web/HTML/Element/noframes
  • Revision title: <noframes>
  • Revision id: 422989
  • Created:
  • Creator: tregagnon
  • Is current revision? No
  • Comment

Revision Content

Summary

<noframes> is an HTML element which is used to supporting browsers which are not able to support {{HTMLElement("frame")}} elements or configured to do so.

You can use any HTML element inside of <noframes> which are expected to be seen inside of {{HTMLElement("body")}} element, except {{HTMLElement("frameset")}} and {{HTMLElement("frame")}} elements.

Note: Because of the fact that all mainstream browsers support frames, usage of this element is not necessary in general cases. It is also entirely obsolete in HTML5 and should be avoided to conform to the standard.

Attributes

Like all other HTML elements, this element supports the global attributes.

Example

<frameset cols="50%,50%">
  <frame src="https://developer.mozilla.org/en/HTML/Element/frameset" />
  <frame src="https://developer.mozilla.org/en/HTML/Element/frame" />
  <noframes><p>It seems your browser does not support frames or configured to does not so.</p></noframes>
</frameset>

See also

  • {{HTMLElement("frameset")}}
  • {{HTMLElement("frame")}}

{{HTML:Element_Navigation}}

Revision Source

<h2 id="Summary">Summary</h2>
<p><code>&lt;noframes&gt;</code> is an HTML element which is used to supporting browsers which are not able to support {{HTMLElement("frame")}} elements or configured to do so.</p>
<p>You can use any HTML element inside of <code>&lt;noframes&gt;</code> which are expected to be seen inside of {{HTMLElement("body")}} element, except {{HTMLElement("frameset")}} and {{HTMLElement("frame")}} elements.</p>
<div class="note">
  <strong>Note:</strong> Because of the fact that all mainstream browsers support frames, usage of this element is not necessary in general cases. It is also entirely obsolete in HTML5 and should be avoided to conform to the standard.</div>
<h2 id="Attributes">Attributes</h2>
<p>Like all other HTML elements, this element supports the <a href="/en-US/HTML/Global_attributes" title="HTML/Global attributes">global attributes</a>.</p>
<h2 id="Example">Example</h2>
<pre class="brush:html">
&lt;frameset cols="50%,50%"&gt;
  &lt;frame src="https://developer.mozilla.org/en/HTML/Element/frameset" /&gt;
  &lt;frame src="https://developer.mozilla.org/en/HTML/Element/frame" /&gt;
  &lt;noframes&gt;&lt;p&gt;It seems your browser does not support frames or configured to does not so.&lt;/p&gt;&lt;/noframes&gt;
&lt;/frameset&gt;</pre>
<h2 id="See_also">See also</h2>
<ul>
  <li>{{HTMLElement("frameset")}}</li>
  <li>{{HTMLElement("frame")}}</li>
</ul>
<p>{{HTML:Element_Navigation}}</p>
Revert to this revision