html <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>
亲自试一试
浏览器支持
所有浏览器都支持 <noframes> 标签。
定义和用法
noframes 元素可为那些不支持框架的浏览器显示文本。noframes 元素位于 frameset 元素内部。
html 与 xhtml 之间的差异
none
提示和注释:
注释:如果浏览器有能力处理框架,就不会显示出 frameset 元素中的文本。
重要事项:如果您希望 frameset 添加 <noframes> 标签,就必须把其中的文本包装在 <body></body> 标签中!
注释:如果您希望验证包含框架的页面,请确保 dtd 被设置为 "frameset dtd"。
阅读更多有关 xhtml 验证的内容。
注释:在xhtml 1.0 strict dtd 中,<noframes> 标签是不被允许的。
标准属性
id, class, title, style, dir, lang, xml:lang
如需完整的描述,请访问标准属性。
tiy 实例
如何使用 <noframes> 标签 本例演示:如何使用 <noframes> 标签。【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!