2013-02-03 188 views
0

我需要在其中一半页面(左侧) - 超链接列表(Lab2.6-Giper.html)中创建html文档。在右边有两个框架(上下)。在上面的框架中,我显示了列表中的页面,在下面的框架中,我需要显示带有某个页面的iframe(Lab2.7-Giper_ris.html)。 但它没有告诉我iframe。有什么问题?在另一个框架内显示iframe

<html> 
<head> 
    <meta charset="utf-8"> 
</head> 
<frameset cols="50%,*"> 
    <frameset> 
     <frame name="left" src="Lab2.6-Giper.html" target="frame_left_up"> 
    </frameset> 
    <frameset rows="50%,*"> 
     <frame name="frame_right_up"> 
     <frameset> 
      <iframe name="frame_right_down" src="Lab2.7-Giper_ris.html">Frame</iframe> 
     </frameset> 
    </frameset> 
</frameset> 
</html> 

回答

1

框架集只能包含框架(和其他框架集)。

如果你想要一个iframe,那么你必须指定一个加载HTML文档的框架。该HTML文档可能包含一个iframe。

相关问题