By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

HTML Noframes Tag

The noframes element is used when the user-agent dose not support frames.

Edited: 2014-12-28 07:05

The Noframes Element in HTML is used to provide alternative content to those user agents which doesn't support frames.

Warning

Frames are known to pose usability issues, and they are poorly indexed by search engines. Its also hard to bookmark a page which is open in a frame.

Attributes

Standard Attributes

Attribute:Value:Description:DTD:
AttrsOther AttributesCommon, I18n, EventF

DTD. Defines which document type the attribute is allowed. S=Strict, T=Transitional, F=Frameset.

Examples

The simple example.

<frame src="Frame.html">
<noframes>
  <p>Your browser doesn't support frames</p>
</noframes>

The Full Example

The full example.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">

  <head>
    <title>HTML Frameset Example</title>
  </head>

  <frameset cols="25%,75%">
    <frame src="Frame1.html">
    <frame src="Frame2.html">
    <noframes>
      <p>Your browser doesn't support frames</p>
    </noframes>
  </frameset>

</html>

Its recommended to include the noframes-element.