当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <noframes>标签

HTML
HTML 介绍
HTML 元素
HTML 基本标签
HTML 格式
HTML 实体字符
HTML 链接
HTML 框架
HTML 表格
HTML 列表
HTML 表单
HTML 图片
HTML 背景
HTML 颜色
HTML 颜色值
HTML 颜色名
HTML 便条
HTML 布局
HTML 字体
HTML 4.0
HTML 样式

HTML <noframes>标签


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 449 ::
收藏到网摘: n/a

定义与用法

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

登陆 | 还没注册?