HTML developmen...login
HTML development manual
author:php.cn  update time:2022-04-11 17:45:33

<noframes>


HTML <noframes> TagHTML5 does not support this tag

Example

<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>
</frameset>

</html>

Run instance»

Click the "Run instance" button to view the online instance


Browser support

1000.png

Most browsers currently support the <noframes> tag.



Tag definition and usage instructions

HTML5 does not support the <noframes> tag. The

<noframes> element displays text for browsers that do not support frames. The noframes element is inside the frameset element.

<noframes> element insertion is used within the <frameset> element.

Note: If you wish to validate pages 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, but HTML 4.01 supports it.


Differences between HTML and XHTML

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


Standard attributes

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

Attributes ValueDescription
classclassnameSpecifies the class name of the element
dirrtl
ltr
Specifies the text direction of the content in the element
ididSpecifies the uniqueness of the element id
langlanguage_codeSpecifies the language code of the content in the element
stylestyle_definitionSpecifies the inline style of the element
titletext Specifies additional information for the element
xml:langlanguage_codeSpecifies XHTML The language code of the element content in the document

For a complete description, please visit the standard properties.


Event attributes

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

## onkeypressExecute script when the keyboard is pressed and then releasedonkeyupExecute script when the keyboard is released
AttributesValueDescription
onclickscriptWhen the mouse is clicked Execute script
ondblclickscriptExecute script when the mouse is double-clicked
onmousedownscriptExecute script when mouse button is pressed
onmousemovescriptExecute script when mouse pointer moves
onmouseoutscript Execute the script when the mouse pointer moves out of an element
onmouseoverscriptWhen the mouse pointer hovers over Execute the script when on an element
onmouseupscriptExecute the script when the mouse button is released
onkeydownscriptExecute script when the keyboard is pressed
#script
script
For a complete description, please visit the event properties.