This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.



The frameset element (<frameset>) defines a collection of frames. The <frameset> element holds one or more <frame> elements. Each <frame> element can hold a separate document. The <frameset> tag is obsolete in HTML5.

Overview Table

DOM Interface


This example uses the FRAMESET element to define three columns of rectangular frames in a document.

<FRAMESET COLS="25%, 50%, *">
<FRAME SRC="contents.htm">
<FRAME SRC="info.htm">
<FRAME SCROLLING="NO" SRC="graphic.htm">



The FRAMESET element is a container for the FRAME element. An HTML document can contain either the FRAMESET element or the BODY element, but not both. If a user opens a folder inside a frame and then clicks something in the 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 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 application cannot host, such as .txt files, a separate window in the appropriate host application is opened. A 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. **Security Warning: ** To protect user privacy and safeguard your applications, Windows Internet Explorer restricts some interactions between frames that host Web pages from different domains. For more information about using the Dynamic HTML (DHTML) object model with the frame and iframe objects, see About Cross-Frame Scripting and Security and Security Considerations: Dynamic HTML.

See also

Related pages

  • frame