<frameset></frameset>
属性:
rows:行
cols:列
border:边框
frameborder:是否有边框,值:1,0,yes,no
<frame>
属性:
src:资源位置
name:名称,targe定位是需要设置
scrolling:是否有滚动条
noresize:是否允许用户用鼠标调大小
<a href="" ></a>target属性:
_blank:空白页
_top:最顶层窗口
_self:当前窗口,缺省值
_parent:直接父窗口
<iframe></iframe>可以实现画中画效果,不需要放在<frameset>中,属性与
<frame>相同
<!--
index.html
-->
<html>
<frameset rows="20%,*">
<frame src="top.html"></frame>
<frameset cols="30%,*">
<frame src="left.html"></frame>
<frame src="right1.html" name=right></frame>
</frameset>
</frameset>
</html>
<!--
left.html
-->
<a href=right1.html target=right>右边第一个网页</a><br>
<a href=right2.html target=right>右边第二个网页</a><br>
<!--
right1.html
-->
<font size=20 color=red>First</font>
<!--
right2.html
-->
<font size=20 color=red>Second</font>
<!--
top.html
-->
<font size=30 color=green>这是顶部网页文件</font>