English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag Compendium

HTML: <noframes> tag

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

Online example

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 ‹/›

Browser compatibility

IEFirefoxOperaChromeSafari

Most browsers currently support the <noframes> tag.

Tag definition and usage instructions

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

HTML 4.01 with HTML5 differences

HTML5Does not support the <noframes> tag, HTML 4.01 Supports this tag.

Differences between HTML and XHTML

Important: In the XHTML Frameset DTD, the text information within the <noframes> element must have a closing tag.

Standard Attributes

In HTML 4.01 The <noframes> element supports the following standard attributes:

AttributeValueDescription
classclassnamespecifies the class name of the element
dirrtl
ltr
specifies the text direction within the element
ididspecifies the unique id of the element
langlanguage_codespecifies the language code of the content within the element
stylestyle_definitionSpecifies the inline style of the element
titletextSpecifies additional information about the element
xml:langlanguage_codeSpecifies the language code for the content of an element in an XHTML document

For a complete description, please visitStandard Attributes.

Event Attributes

In HTML 4.01 In, the <noframes> tag supports the following event attributes:

AttributeValueDescription
onclickscriptExecute script when the mouse is clicked
ondblclickscriptExecute script when the mouse is double-clicked
onmousedownscriptExecute script when the mouse button is pressed
onmousemovescriptExecute script when the mouse pointer moves
onmouseoutscriptExecute script when the mouse pointer moves out of an element
onmouseoverscriptExecute script when the mouse pointer hovers over an element
onmouseupscriptExecute script when the mouse button is released
onkeydownscriptExecute script when the keyboard is pressed
onkeypressscriptExecute script when the keyboard is pressed and then released
onkeyupscriptExecute script when the keyboard is released

For a complete description, please visitEvent Attributes.