Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

Handling browsers that do not support frames

If you create web pages that use frames, you must also include content for browsers that do not support frames. Some people just put up a note that says that the page uses frames and the browser doesn't support them. This is lazy and unhelpful; it is much better to include the proper content in the <noframes> section of your frameset document.

For example:

<html>
<head>
</head>
<frameset cols=”80,100%” frameborder=”no”>
<framesrc="page.htm">
<framesrc="page1.htm">
<noframes>
<body>
The information that you want to appear in the 
browser that does not support frames……
</body>
</noframes>
</frameset>
</html>

Browsers that do not support frames ignore the <frameset>, <frame> and <noframes> tags and display the contents of the <body> section.

  • Note: Do not put the <frame> tags between the <body> and </body> tags.