Frames

Home

With frames you can divide your web page into separate, independent parts, the content of each of which comes from a separate HTML document. You can update each frame separately. You can create elements that can be used consistently throughout the site.

Frames can be displayed with borders and scrollbars, and the user can drag the border to resize the frame(s). You can turn each of these features off, however. You can provide alternative content for browsers that do not support frames.

Creating a page with Frames

Tags for Frames and Framesets

Frameset Attributes

Frame Attributes

  • attributes declared in a FRAME tag have precedence over same-named attributes in the FRAMESET tag
  • the FRAMESET tag is not part of the BODY tag; it replaces the BODY tag
  • Nesting Framesets

  • loading a link in a target frame
  • Navigating Frames

    This demonstration of how to navigate frames uses examples of both HTML and JavaScript code.

    Frames-incapable Browsers

    Decorative horizontal line

    Back to top     Home     Serious Stuff

    © 2001. Copyright Sue Nethercott.