Frames allow you to divide the browser window into several independent, scrollable areas, each of which displays a different, unique HTML document. So you're actually displaying several different web pages within one interface. Frames allow more complex interactions to take place within the window of the browser, without completely reloading the page. One area of the page can remain static while another reloads, creating a more consistent visual environment. This same-page environment makes more complex interactions possible and helps prevent the disorientation so common on the web. But frames have fallen out of favor over time. Their decline can be attributed partially to the evolution of other, more elegant methods of interactivity (involving JavaScript or Flash), and partially to their drawbacks: They require a lot of careful production work, in which it's easy to introduce errors. Also, the pages in a frames-based site lack unique web addresses, so users can't bookmark them, other sites can't link to them, and search engines can't always index them. learning to use framesThe first thing to learn about frames is this: The HTML document for a frames-based page won't contain any actual content. It will merely describe the structure of the page (the frameset), and point to the web pages that should appear within each individual region (or frame). A frames-based page can be divided into as many regions as you care to make. You can describe the page in terms of columns or rows, and size the frames based on a percentage of the overall browser window or a precise value in pixels. You'll find good tutorials on frames on the sites Webmonkey and A List Apart (see listings on this page) as well as most HTML reference books.
Learning to use frames Webmonkey frames tutorials http://www.webmonkey.com/authoring/frames/ A List Apart Frames tutorials http://www.alistapart.com/stories/frames/ |