框架:
<html>
<head><title></title></head>
<frameset>
<frame>
<frame>
</frameset>
</html>
框架集的属性:
border 设置边框粗细,默认是5象素. bordercolor 设置边框颜色
framespacing:边框的宽度
frameborder 指定是否显示边框 :"0"代表不显示边框,"1"代表显示边框
cols 用"象素数" 和 "%"分割左右窗口,"*"表示剩余部分 垂直分割
rows 水平分割
水平分割
<frameset rows="高度1,高度2,*">
<frame>
</frameset>
垂直分割:
<frameset cols="宽度1,宽度2,*">
<frame>
</frameset>
框架的设置
<frameset rows="" cols="">
<frame src="指定要显示的网页的URL" name="子窗名称(作为超链接的target属性)" scrolling="yes|no|auto(指定是否显示滚动条)"
marginwidth="px(左右边距)" marginheight="px(上下边距)" noresize="noresize(可否随意调整边框尺寸)">
</frameset>
浮动框架:<iframe 属性=“值”></iframe>
src:嵌入式柜架的页面文件路径
name: 嵌入式柜架的名字
width: 宽度
height: 高度
align:对齐方式[ top | middle | bottom | left | right ]
frameborder:[ 1 | 0 ] 柜架边框
marginwidth: 左右空出宽度
marginheight: 上下空出的高度
bordercolor:边框颜色
scrolling:=[ yes | no | auto ] 流动条(yes强制显示|no永不显示|auto自动)
noresize:框架尺寸
框架与超链接:<frame name="framename" src="">
<iframe name="iframename" sr=""></iframe>
<a href="targethtml" target="framename|iframename"></a>
框架:
<html>
<head><title></title></head>
<frameset>
<frame>
<frame>
</frameset>
</html>
框架集的属性:
border 设置边框粗细,默认是5象素. bordercolor 设置边框颜色
framespacing:边框的宽度
frameborder 指定是否显示边框 :"0"代表不显示边框,"1"代表显示边框
cols 用"象素数" 和 "%"分割左右窗口,"*"表示剩余部分 垂直分割
rows 水平分割
水平分割
<frameset rows="高度1,高度2,*">
<frame>
</frameset>
垂直分割:
<frameset cols="宽度1,宽度2,*">
<frame>
</frameset>
框架的设置
<frameset rows="" cols="">
<frame src="指定要显示的网页的URL" name="子窗名称(作为超链接的target属性)" scrolling="yes|no|auto(指定是否显示滚动条)"
marginwidth="px(左右边距)" marginheight="px(上下边距)" noresize="noresize(可否随意调整边框尺寸)">
</frameset>
浮动框架:<iframe 属性=“值”></iframe>
src:嵌入式柜架的页面文件路径
name: 嵌入式柜架的名字
width: 宽度
height: 高度
align:对齐方式[ top | middle | bottom | left | right ]
frameborder:[ 1 | 0 ] 柜架边框
marginwidth: 左右空出宽度
marginheight: 上下空出的高度
bordercolor:边框颜色
scrolling:=[ yes | no | auto ] 流动条(yes强制显示|no永不显示|auto自动)
noresize:框架尺寸
框架与超链接:<frame name="framename" src="">
<iframe name="iframename" sr=""></iframe>
<a href="targethtml" target="framename|iframename"></a>