HTML <noframes>TagHTML5 does not support this tag.
Examples
Display three frames. If frames are not supported, output the text of the <noframes> tag:
<frameset cols="25%,50%,25%">
<frame src="frame_a.htm.html">
<frame src="frame_b.htm.html">
<frame src="frame_c.htm.html">
<noframes>Sorry, your browser does not handle frames!</noframes>
</frameset>
</html>
Try it Yourself »
Browser Support
![]()
Currently, most browsers 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 and used within the <frameset> element.
Note:If you wish to validate a page containing frames, make sure the DTD is set to "Frameset DTD".
Differences Between HTML 4.01 and HTML5
HTML5 does not support the <noframes> tag; HTML 4.01 supports it.
Differences Between HTML and XHTML
Important:In the XHTML Frameset DTD, text information located inside the <noframes> element must have a closing tag.
Standard Attributes
In HTML 4.01, <noframes> supports the following standard attributes:
| Attribute | Value | Description |
|---|---|---|
| class | classname | Specifies the class name of the element. |
| dir | rtl ltr |
Specifies the text direction of the content 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 of the element's content in an XHTML document. |
For a complete description, please visitStandard Attributes。
Event Attributes
In HTML 4.01, the <noframes> tag supports the following event attributes:
| Attribute | Value | Description |
|---|---|---|
| onclick | script | Script to be run when the mouse is clicked. |
| ondblclick | script | Script to be run when the mouse is double-clicked. |
| onmousedown | script | Script to be run when the mouse button is pressed down. |
| onmousemove | script | Script to be run when the mouse pointer moves. |
| onmouseout | script | Script to be run when the mouse pointer moves out of an element. |
| onmouseover | script | Script to be run when the mouse pointer hovers over an element. |
| onmouseup | script | Script to be run when the mouse button is released. |
| onkeydown | script | Script to be run when a key on the keyboard is pressed. |
| onkeypress | script | Script to be run when a key is pressed and then released. |
| onkeyup | script | Script to be run when a key on the keyboard is released. |
For a complete description, please visitEvent Attributes。
Other Extensions