English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
<noframes> is an HTML element used to support browsers that do not support the <frame> element, or browsers configured in this way. You can use any HTML element within <noframes> that you would expect to see in <body>, except for <frameset> and <frame> elements.
Displays three frame frames. If frames are not supported, the text of the <noframes> tag is output:
<html> <frameset cols="25%,50%,25%"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> <frame src="frame_c.htm"> <noframes>Sorry, your browser does not handle frames!</noframes>/noframes> </frameset> </html>Test to see ‹/›
IEFirefoxOperaChromeSafari
Most browsers currently support the <noframes> tag.
HTML5 Does not support the <noframes> tag.
The <noframes> element can display text for browsers that do not support frames. The noframes element is located inside the frameset element.
The <noframes> element is inserted within the <frameset> element.
Note: If you want to validate a page that includes frames, make sure that the DTD is set to "Frameset DTD".
HTML5Does not support the <noframes> tag, HTML 4.01 Supports this tag.
Important: In the XHTML Frameset DTD, the text information within the <noframes> element must have a closing tag.
In HTML 4.01 The <noframes> element supports the following standard attributes:
Attribute | Value | Description |
---|---|---|
class | classname | specifies the class name of the element |
dir | rtl ltr | specifies the text direction within the element |
id | id | specifies the unique id of the element |
lang | language_code | specifies the language code of the content within the element |
style | style_definition | Specifies the inline style of the element |
title | text | Specifies additional information about the element |
xml:lang | language_code | Specifies the language code for the content of an element in an XHTML document |
For a complete description, please visitStandard Attributes.
In HTML 4.01 In, the <noframes> tag supports the following event attributes:
Attribute | Value | Description |
---|---|---|
onclick | script | Execute script when the mouse is clicked |
ondblclick | script | Execute script when the mouse is double-clicked |
onmousedown | script | Execute script when the mouse button is pressed |
onmousemove | script | Execute script when the mouse pointer moves |
onmouseout | script | Execute script when the mouse pointer moves out of an element |
onmouseover | script | Execute script when the mouse pointer hovers over an element |
onmouseup | script | Execute script when the mouse button is released |
onkeydown | script | Execute script when the keyboard is pressed |
onkeypress | script | Execute script when the keyboard is pressed and then released |
onkeyup | script | Execute script when the keyboard is released |
For a complete description, please visitEvent Attributes.