Name
<NOFRAMES> — NN 2 IE 3 HTML 4
Synopsis
<NOFRAMES>...</NOFRAMES>
End Tag: Required
The NOFRAMES
element contains HTML that is
rendered by browsers incapable of displaying frames. Browsers that
are capable of displaying frames ignore the
NOFRAMES
element and all content it contains.
Content for this element should instruct the user about using frames
or perhaps offer a link to a frameless version of the page. The most
common location for the NOFRAMES
element is inside
a FRAMESET
element. The HTML 4.0 specification,
however, sees nothing wrong with embedding the element in a rendered
document, if it makes sense for your application.
All attributes of the NOFRAMES
element were added
to support Cascading Style Sheets. This seems odd, because it would
seem very unlikely that a browser would support CSS but not frames.
Chalk it up to consistency.
Example
<FRAMESET COLS="150,*"> <FRAME NAME="navbar" SRC="nav.html"> <FRAME NAME="main" SRC="page1.html"> <NOFRAMES>Your browser does not support frames. Click <A HREF="noFramesIndex.html">here</A> for a frameless version. </NOFRAMES> </FRAMESET>
Attributes
|
|
|
|
|
|
Event Handler Attributes
Handler |
NN |
IE |
HTML |
---|---|---|---|
onClick |
n/a |
n/a |
4 |
onDblClick |
n/a |
n/a |
4 |
onKeyDown |
n/a |
n/a |
4 |
onKeyPress |
n/a |
n/a |
4 |
onKeyUp |
n/a |
n/a |
4 |
onMouseDown |
n/a |
n/a |
4 |
onMouseMove |
n/a |
n/a |
4 |
onMouseOut |
n/a |
n/a |
4 |
onMouseOver |
n/a |
n/a |
4 |
onMouseUp |
n/a |
n/a |
4 |
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.