frameset用在body外,noframes将body框起来

<html>
  <head>
 <title>Frame范例</title>
  </head>

  <frameset cols="30%,50%,20%"> 
   <frame src="a.htm" name="1" frameborder=1>
   <frame src="b.htm" name="2" frameborder=1>
   <frame src="c.htm" name="3" frameborder=1>
 <noframes>
  <BODY bgcolor=Blue>
   <H1>对不起,你的浏览器不支持Frame!</H1>
  </BODY>
     </noframes>
  </frameset>
</html>

嵌套

 

<html>

<head>
 <title>Frame范例</title>
</head>

<frameset cols="20%,*"> 
  <frame src="a.htm" name="1" bordercolor=#00ff00>
  <frameset rows="40%,*">
 <frame src="color-b.htm" name="2" bordercolor=#00ff00>
 <frame src="color-c.htm" name="3" bordercolor=#00ff00>
  </frameset>


  <noframes>
 <body bgcolor="#FF0000">
 对不起,您的页面不支持框架,请考虑升级您的浏览器
 </body>
  </noframes>
</frameset>

</html>

 

 

 

<html>
  <head>
 <title>Frame范例</title>
  </head>

  <frameset rows="30%,50%,20%"> 
     <frame src="a.htm" name="1" frameborder=1>
     <frame src="b.htm" name="2" frameborder=1>
     <frame src="c.htm" name="3" frameborder=1>
     <noframes>
 <body bgcolor="#FF0000">
 </body>
     </noframes>
  </frameset>
</html>

 

posted on 2010-01-05 21:47  新小白龙  阅读(805)  评论(0编辑  收藏  举报