Tuesday, January 10, 2012

9. HTML Frames

HTML Frames


  1. What is the purpose of using frames in HTML?With frames, several Web pages can be displayed in the same browser window.
Vertical frameset

  1. What does this example demonstrate? Its demonstrate a horizontal frameset.
  2. Change the numbers and words inside the quotation marks.  Describe what happens. It change the size of the frames.
Horizontal frameset

  • What does this example demonstrate? It demonstrate Horizontal frames. 
  • What is the difference between these two examples? One is vertical and on is horizontal.
  • What makes them different? The way of the text directions.
  • What are 2 advantages of frames? The advantages are  
  • What are 2 disadvantages of frames?
  • What does the frameset tag do in HTML? The <frame> tag defines one particular window (frame) within a frameset.
  • What does the frame tag do in HTML? The frameset column size can also be set in pixels (cols="200,500"), and one of the columns can be set to use the remaining space, with an asterisk (cols="25%,*").
 

  1. How can you prevent the user from changing frame sizes? you can add noresize="noresize" to the <frame> tag.
  2. What do you do for browsers that do not support frames? Add the <noframes> tag
How to use the <noframes> tag

  1. What does this example demonstrate? Your browser does not handle frames
  2. Why would you use this example? Browsers that dont support frames.
Mixed frameset

  1. What does this example demonstrate? It demonstrate frames in a mixed order and different sizes. 
  2. What does this example look like? A mixed order of frames.
Frameset with noresize="noresize"

  1. What does this example demonstrate? Frames that are identical to eachother.
  2. Why would you include this tag? To prevent a frame that has visible borders, the user can resize it by dragging the border.
Navigation frame

  1. What are 2 advantages of frames?The navigation frame contains a list of links with the second frame as the target.
  2. Where are the frames in this example located? on the top left handed margin. 
  3. How do you get to these frames?  The source code of the links.
Inline frame

  1. What does this example demonstrate? It demonstrates a frame that displays words in the inside. 
  2. What happens if a browser does not support inline frames? The iframe will not be visible.
Jump to a specified section within a frame

  1. What does this example demonstrate? Two frames. One of the frames has a source to a specified section in a file. The specified section is made with <a name="C10"> in the "link.htm" file.
  2. What happens when you do not include this in your frame? You wouldn't be able to go to a specific section . 

No comments:

Post a Comment