HTML » Tags » noframes

Version: 4.0

Compability: Explorer 4, 5  Netscape 4, 6

<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.


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

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

Language(s): HTML

See Also: