框架编辑是将body标签去掉,用frameset。可以将几个网页排版在一个页面上,同时 显示。
<head> <meta charset="UTF-8"> <title></title> </head> <frameset rows="30%,*" border="2"> <frame src="js/frame/fm.html" /> <frameset cols="15%,*" border="2"> <frame src="js/frame/fm3.html" /> <frame src="js/frame/fm2.html"/> </frameset> </frameset>
rows为上下分,cols为左右分。frame中可以设置frameborder="no"禁止窗口调整大小,scrolling="no"取消显示滚动条。frameset可以嵌套