frame是把网页分成多个页面的页面。它要有一个框架集页面frameset
iframe是一个浮动的框架,就是在你的页面里再加上一个页面,

解决方案 »

  1.   

    IFRAME--------------------------------------------------------------------------------DescriptionCreates inline floating frames. ResThis element is a block element. The IFrame functions as a document within a document. Consequently, access to the IFrame object is provided through the frames collection. Use the frames collection to read or write to elements contained in an IFrame.
      

  2.   

    看我给你找的相关的解释吧:
    IFRAME:
    The IFRAME element functions as a document within a document, or like a floating FRAME. The frames collection provides access to the contents of an IFRAME. Use the frames collection to read or write to elements contained in an IFRAME. For example, the syntax for accessing the backgroundColor style of the BODY object in an IFRAME is: sColor = document.frames("sFrameName").document.body.style.backgroundColor;You can access the IFRAME object's properties, but not its contents, through the object model of the page where the IFRAME object resides. For example, the syntax for accessing the border style of the IFRAME object is:sBorderValue = document.all.oFrame.style.border;The IFRAME element is a block element and requires a closing tag.This element is available in HTML and script as of Microsoft® Internet Explorer 4.0.
    --------------
    FRAME:
    If a user opens a web folder inside a frame and then clicks something in the Web folder, the file or folder that the user clicks takes over the entire window. For example, suppose that a page contains two frames, one frame pointing to http://www.microsoft.com and the second frame pointing to a network drive. If the user clicks a file or folder in the second frame, that frame takes control of the entire window, including the first frame. For file types that the browser cannot host, such as .txt files, a separate window in the appropriate host application is opened.A Web folder is a part of the file system hierarchy, but it does not necessarily represent anything in the file system. An example is Network Neighborhood. The FRAME element is a block element and does not require a closing tag.This element is available in HTML and script as of Microsoft® Internet Explorer 3.0.
      

  3.   

    我个人认为:
    <frame>用于全页面
    <iframe>只用于局部
      

  4.   

    <frame>用来把页面横着或竖着切开,
    <iframe>用来在页面中插入一个矩形的小窗口
      

  5.   

    Frame一般用来设置页面布局,将整个页面分成规则的几块,每一块里面包含一个新页面.
    iframe用来在页面的任何地方插入一个新的页面.因此,Frame用来控制页面格式,比如一本书,左边是章节目录,右边是正文,正文很长,看的时候要拖动,但又不想目录也被拖动得开不到了.因此最好将页面用Frame分成规则的2页,一左一右.而iframe则更灵活,不要求将整个页面划分,你可以在页面任何地方用iframe嵌入新的页面.
      

  6.   

    iframe 更灵活,就象嵌入js 文件一样