HTML and CSS Reference
In-Depth Information
smart authors give those users a way out, if not direct access to the in-
dividual documents that make up the frame document contents.
Remember our first frame example in this chapter? Figure 11-5 shows
what happens when that frame document gets loaded into an old ver-
sion of Mosaic.
Figure 11-5. A <noframes> message in a
nonframes-capable browser
The HTML to produce this message looks like this:
Sorry, this document can be viewed only with a
frame-capable browser. Go to the <a href="frame1.html">
first HTML document</a> in the set.
<noframes> works because most browsers are extremely tolerant of er-
roneous tags and incorrect documents. A nonframes browser simply ig-
nores the frame tags. What's left, then, is the content of the <noframes>
tag, which the browser dutifully displays.
If your browser strictly enforces some version of HTML or XHTML that
does not support frames, it may simply display an error message and
refuse to display the document, even if it contains a <noframes> tag.
Search WWH ::

Custom Search