网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: HTML :: HTML <noframes>标签

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

HTML <noframes>标签


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-28 浏览:3325 :: ::

定义与用法

The noframes element displays text for browsers that do not handle frames. The noframes element goes inside the frameset element.
noframe元素可为那些无法处理框架的浏览器提供一些文字信息。noframes元素应该在frameset元素中使用。


在HTML和XHTML中的区别

NONE


提示与注意点

Note: If a browser handles frames, it will not display the text in the noframes element.
注意:如何浏览器可以处理框架,那么它就不会将noframes元素中的文字显示出来

Important: If you add a <noframes> tag to a frameset, you will have to enclose the text in <body></body> tags!
重点:如果你 在框架集中使用了<noframes>标签,那么里面的文字必须在<body></body>标签内!

Note: If you want to validate a page containing frames, be sure the DTD is set to "Frameset DTD". Read more about XHTML Validation.
注意:如果你要校验在框架里的页面,请确定DTD设置为"Frameset DTD"。可以阅读更多有关XHTML校验的知识。

Note: The <noframes> tag is not allowed in XHTML 1.0 Strict DTD.
注意:在XHTML1.0严密型DTD里<noframes>标签是不允许使用的。


实例

<frameset cols = "25%, 25%,*">
  <noframes>
    <body>Your browser does not handle frames!</body>
  </noframes>
  <frame src ="venus.htm" />
  <frame src ="sun.htm" />
  <frame src ="mercur.htm" /> 
</frameset>



标准属性

id, class, title, style, dir, lang, xml:lang

For a full description, go to Standard Attributes.
查看完整的属性

事件属性

NONE


尝试与演示

How to use the <noframes> tag
This example demonstrates how to use the <noframes> tag.
这个举例将演示如何使用<noframes>标签

评论 (0) All