布局知识

索引:<frameset>;
<frameset>

frameset 元素可定义一个框架集。它被用来组织多个窗口(框架)。

您不能与 <frameset></frameset> 标签一起使用 <body></body> 标签。不过,如果您需要为不支持框架的浏览器添加一个 <noframes> 标签,请务必将<body></body> 标签放置在<noframes>中!

<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>

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

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

<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>



posted on 2012-03-15 22:04  lan.xiaofeng  阅读(63)  评论(0)    收藏  举报

导航