HTML Noframes Tag

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.

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.