Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML and noframes. tags


May 04, 2021 HTML Reference Manual


Table of contents


HTML-lt;noframes-gt; label HTML5 does not support the label

The label is used to support browsers that do not support the elements, please refer to the following example:

Displays the text of three frame frames, if the frame output is not supported, and the label is not supported:

<html>

<frameset cols="25%,50%,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
<noframes>抱歉,您的浏览器不支持 frame 属性!</noframes>
</frameset>

</html>

Try it out . . .

Browser support

HTML and noframes. tags HTML and noframes. tags HTML and noframes. tags HTML and noframes. tags HTML and noframes. tags

At present, most browsers support the label.


Label definition and instructions for use

HTML5 does not support the labeling of the slt;noframes.

The element displays text for browsers that do not support the framework. The noframes element is located inside the frameset element.

The element is inserted in the element and is used in the element.

Note: If you want to verify the page that contains the frame, make sure that the DTD is set to Frameset DTD.

Note: If you want to add a label to the element, you must wrap the text in the label!


The difference between HTML 4.01 and HTML5

HTML5 does not support the label, which is supported by HTML 4.01.


The difference between HTML and XHTML

Important: In XHTML Frameset DTD, the text information located in the element of the .lt;noframes must have a close label.


The standard property

In HTML 4.01, the following standard properties are supported:

属性 描述
class classname 规定元素的类名
dir rtl
ltr
规定元素中内容的文本方向
id id 规定元素的唯一 id
lang language_code 规定元素中内容的语言代码
style style_definition 规定元素的行内样式
title text 规定元素的额外信息
xml:lang language_code 规定 XHTML 文档中元素内容的语言代码

For a complete description, visit Standard Properties.


The event property

In HTML 4.01, the tag supports the following event properties:

属性 描述
onclick script 当鼠标被单击时执行脚本
ondblclick script 当鼠标被双击时执行脚本
onmousedown script 当鼠标按钮被按下时执行脚本
onmousemove script 当鼠标指针移动时执行脚本
onmouseout script 当鼠标指针移出某元素时执行脚本
onmouseover script 当鼠标指针悬停于某元素之上时执行脚本
onmouseup script 当鼠标按钮被松开时执行脚本
onkeydown script 当键盘被按下时执行脚本
onkeypress script 当键盘被按下后又松开时执行脚本
onkeyup script 当键盘被松开时执行脚本

For a complete description, visit Event Properties.