HTML » Tags » noframes

Version: 4.0

Compability: Explorer 4, 5  Netscape 4, 6

Syntax:
<noframes> ... </noframes>

The <noframes> tag is used to display an alternative message on browsers that do not recognize frames. Usually, this message advises the user that frames are needed to see the contents of this HTML document. If the browser does recognize frames, then the contents of the noframes element are not displayed.

The noframes tag must be placed immediately following the first use of the frameset tag. The ending tag is optional. However, it is recommended that it be included.
 

Examples

Code:
<html>
<head>
<title>frames example</title>
</head>
<frameset cols="50%, 50%">
   <noframes>
      To be viewed properly, this page requires frames.
   </noframes>
   <frameset rows="33%, 33%, *">
      <frame src="html_frames_red.html">
      <frame src="html_frames_orange.html">
      <frame src="html_frames_yellow.html">
   </frameset>
   <frameset rows="50%, 50%">
      <frame src="html_frames_green.html">
      <frame src="html_frames_blue.html">
   </frameset>
</frameset>
</html>
Explanation:

This example creates five frames, each with a different background color.

Language(s): HTML

See Also: