Site hosted by Angelfire.com: Build your free website today!

Frames


|Home| |Links| |Styles| |Tables| |Images| |Forms| |Frames|

What are Frames? When designing a web site the term Frames refers to seperate scrollable windows that are placed with in a web page.

When creating a frames-based layout the total number of HTML documents needed will always equal the number of frames you have plus one for the frameset. The document that controls the layout and organization of the frames on a frames-based layout is called a Frameset.

One of advantage of using frames would be the ability to create a template. By creating a template and using a template you can add pages to your web site in a more efficient manner.

The term Targeting refers to the action in which the frameset tells the browser which frame the linked page needs to open in. There are two methods of doing this.The first method would be to add the target attribute to the link's < a > tag and setting the attribute equal to the name of the frame the linked page is to open in. The second method is to use a < base /> tag create a global setting which specifies that all the links will open in the same frame.

There are three main reasons why Frames are not recommended as part of W3C stardard. The first would be the fact that frames are not viewable by all web browsers. The second reason would be the fact that Frames are unaddressable. Meaning that as the user navigates his/her way through the site the URL for the main page does not change. You can only acces those particular frames while you are within that specific website. The third reason would be that Frames focus on layout not structure.

Concepts Review


  1. The Navigation bar is a set of links to the home page and main sections of a Web site that appear on every page.

  2. A Framest is a file that specifys the organization of frame files within the browser window.

  3. A Frame is a window within a frameset that displays a seperate HTML document.

  4. When using frames on a web site the term target refers to a method of setting the location where a link page opens.

  5. Noresize is an attribute that is used to prevent a frame's demensions from being changed.

  6. In a web page laid out with frames, each frame displays the contents of a seperate web document.

  7. If you want to create a global setting to target a different frame for all of a page's links you would use a <base /> tag.

  8. To refresh the pages in a frameset, all you need to do is click the Go button in the browser window.

  9. The src attribute that is located within the <frame> tag defines the location for the frame content.

  10. In order to create a frameset that displays two frames you will need to have three HTML documents. One for each frame and one for the frameset.

  11. You can NOT use the <body> tags within <frameset> .....</frameset> tags.

Page modified by Victoria Dyar, November 20, 2009