HTML <noframes>
Tag
Example
Displays three frame frames, and if frame support is not available, outputs the text from the <noframes>
tag:
Browser Support
Most browsers currently support the <noframes>
tag.
Tag Definition and Usage
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 used within the <frameset>
element.
Note: If you want to validate a page that includes frames, ensure that 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 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, <noframes>
supports the following standard attributes:
Attribute | Value | Description |
---|---|---|
class | classname | Specifies the class name for the element |
dir | rtl <br>ltr | Specifies the text direction of the element's content |
id | id | Specifies a unique id for the element |
lang | language_code | Specifies the language code of the element's content |
style | style_definition | Specifies an inline style for the element |
title | text | Specifies extra information about the element |
xml:lang | language_code | Specifies the language code for the element's content in XHTML documents |
For a complete description, visit Standard Attributes.
Event Attributes
In HTML 4.01, the <noframes>
tag supports the following event attributes:
Attribute | Value | Description |
---|---|---|
onclick | script | Script to be run on a mouse click |
ondblclick | script | Script to be run on a double-click |
onmousedown | script | Script to be run when a mouse button is pressed |
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 a mouse button is released |
onkeydown | script | Script to be run when a key 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 is released |
For a complete description, visit Event Attributes.