Name: 
 

Frames



True/False
Indicate whether the sentence or statement is true or false.
 

 1. 

Because of the many problems and complaints associated with frames, they are deprecated in XHTML in favour of tables.
 

 2. 

Frames are used to create separate versions of HTML documents.
 

 3. 

One advantage of using frames is having a separate, individual region in the browser which could be used as a table of contents.
 

 4. 

The <frame> element and other <frameset> elements are the only items that you can place inside a <frameset> element.
 

 5. 

The <frameset> tag does not require the matching end tag </frameset>.
 

 6. 

You can create frames in a document in horizontal rows, vertical columns, or both.
 

 7. 

Two attributes of the <frameset> element are named frameRows and frameColumns.
 

 8. 

Frames must be created with explicit designations of frame sizes measured in pixels.
 

 9. 

Normally users can adjust the size of the frames as they need.
 

 10. 

Setting the name attribute of <frame> to _blank will load the document into the current frame.
 

Multiple Choice
Identify the letter of the choice that best completes the statement or answers the question.
 

 11. 

You divide an HTML document into frames using the ____ element.
a.
<frame>
c.
<frameset>
b.
<framethis>
d.
<framelist>
 

 12. 

The following frame setup is created by the following HTML document.
red.html appears here
blue.html appears here
green.html appears here
yellow.html appears here
a.
<frameset rows= “50%, 50%”>
   <frameset cols= “50%, 50%”>
      <frame src= “red.html”>
      <frame src = “blue.html”>
   </frameset>
   <frameset cols = “50%, 50%”>
       <frame src= “green.html”>
       <frame src= “yellow.html”>
   </frameset>
</frameset>
c.
<frameset rows= “50%, 50%”>
   <frameset cols= “50%, 50%”>
      <frame src= “red.html”>
      <frame src = “blue.html”>
      <frame src= “green.html”>
      <frame src= “yellow.html”>
   </frameset>
</frameset>
b.
<frameset rows= “50%, 50%”>
   <frameset cols= “50%, 50%”>
      <frame src= “green.html”>
      <frame src = “yellow.html”>
   </frameset>
   <frameset cols = “50%, 50%”>
       <frame src= “red.html”>
       <frame src= “blue.html”>
   </frameset>
</frameset>
d.
<frameset rows= “50%, 50%”>
   <frameset cols= “50%, 50%”>
      <frame src= “red.html”>
      <frame src = “blue.html”>
      <frame src= “green.html”>
      <frame src= “yellow.html”>
 

 13. 

It is helpful to use an _____ to represent the size of frames that do not require an exact number of pixels or exact window percentage.
a.
+
c.
#
b.
$
d.
*
 

 14. 

The ____ attribute of the <frame> element specifies the document to be opened in an individual frame.
a.
doc
c.
list
b.
src
d.
href
 

 15. 

The ____ attribute determines in which frame or Web browser window a document will open.
a.
base
c.
setFrame
b.
window
d.
target
 

 16. 

You can provide an identification label to a frame so that it can be referenced as a target attribute by using the attribute _____.
a.
scrolling
c.
noresize
b.
src
d.
name
 

 17. 

To completely suppress a border between two frames in a browser, you ____
a.
must include the framespacing attribute and assign to it a value of zero
c.
need to configure the frame size option in the browser
b.
must set the framewidth attribute to 100%
d.
must set the frameborder to zero
 

 18. 

If the name attribute to the <frame> is set to ____, the document is loaded into a new window.
a.
_self
c.
_blank
b.
_parent
d.
_top
 

 19. 

The _____ element displays a message to users of Web browsers that are not capable of displaying frames.
a.
</frames>
c.
<checkframes>
b.
<stopframes>
d.
<noframes>
 

 20. 

Jakob Nielson’s comments on using frames were ___.
a.
Frames provide a sequence of navigation to Web pages that can be used effectively
c.
Frames break the unified model of the Web and introduce a new way of looking at data that has not been well integrated into other aspects of the Web.
b.
Frames enhance the accessibility of the Web pages by providing functionality supported by all browsers.
d.
The information about the position in a frameset is always present in the document in the frame.
 

 21. 

Which of the following statements is not true?
a.
Frames can make bookmarking difficult for older browsers.
c.
Printing problems may occur when printing frames.
b.
Some search engines will ignore sites that use frames.
d.
Using frames in a web page will not take up a lot of screen space.
 

 22. 

Which HTML creates the following frameset display?
menupage.htm
welcomepage.htm

banner.htm
a.
<frameset rows= “50%, 50%”>
   <frame src= “menupage.htm” name= “menu”>
   <frameset cols = “*,50%”>
        <frame src= “welcompage.htm” name = “main”>
        <frame src = “banner.htm” name = “bottom”>
   </frameset>
</frameset>
b.
<frameset rows= “50, *”>
   <frame src= “menupage.htm” name= “menu”>
   <frameset cols = “*, 75%”>
        <frame src= “welcompage.htm” name = “main”>
        <frame src = “banner.htm” name = “bottom”>
   </frameset>
</frameset>
c.
<frameset cols= “25%, 20%, *”>
   <frame src= “menupage.htm” name= “menu”>
   <frameset cols = “*,50%”>
        <frame src= “welcompage.htm” name = “main”>
        <frame src = “banner.htm” name = “bottom”>
   </frameset>
</frameset>
d.
<frameset cols="120,*">
    <frame src="menupage.htm" name="menu">
    <frameset rows="*,50">
    <frame src="welcomepage.htm" name="main">
    <frame src="banner.htm" name="bottom">
</frameset>
</frameset>
 



 
Check Your Work     Reset Help