欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!

所有浏览器都支持 <noframes> 标签。

定义和用法

noframes 元素可为那些不支持框架的浏览器显示文本。noframes 元素位于 frameset 元素内部。

HTML 与 XHTML 之间的差异

NONE

提示

注:如果浏览器有能力处理框架,就不会显示出 frameset 元素中的文本。

重要事项:如果您希望 frameset 添加 <noframes> 标签,就必须把其中的文本包装在 <body></body> 标签中!

注:如果您希望验证包含框架的页面,请确保 DTD 被设置为 "Frameset DTD"。

注:在XHTML 1.0 Strict DTD 中,<noframes> 标签是不被允许的。

实例

1

2

3

4

5

6

7

8

9

10

<html>

<frameset cols="25%,50%,25%">

  <frame src="/example/html/frame_a.html">

  <frame src="/example/html/frame_b.html">

  <frame src="/example/html/frame_c.html">

<noframes>

<body>您的浏览器无法处理框架!</body>

</noframes>

</frameset>

</html>


如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h57481.shtml