窗口框架的建立(frameset,frame标签)
窗口的属性:
rows:水平分割
cols 垂直分割
frameborder:0或1隐藏或显示边框
scrolling="no" yes是否可以滚动
noresize:不可以改变窗口大小
name:框架名
实例:
需求:
<! DOCTYPE html> < html> < head> < meta charset= "utf-8" /> < title></title > </ head> < frameset rows= "10%,*" > < frame src= "title.html" noresize ="no"/> < frameset cols= "20%,*" > < frame src= "left.html" noresize ="no"/> < frame name= "right" noresize ="no"/> </ frameset> </ frameset> </ html> left.html <! DOCTYPE html> < html> < head> < meta charset= "UTF-8" > < title></title > </ head> < a href= "right.html" target ="right">会员管理</a>< br /><br /> < a href= "#">品牌管理</a>< br /><br /> < a href= "#">商品管理</a>< br /><br /> < a href= "#">分类管理</a>< br /><br /> < body> </ body> </ html> right.html <! DOCTYPE html> < html> < head> < meta charset= "UTF-8" > < title></title > </ head> < body> 欢迎进入会员管理系统 </ body> </ html> title.html <! DOCTYPE html> < html> < head> < meta charset= "UTF-8" > < title></title > </ head> < body> < font color= "red" size= "7"><b >后台管理系统</ b></font > </ body> </ html>
时间: 2024-12-14 14:08:54