Name:     ID: 
 
    Email: 

HTML Tutorial 5 - Exam

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

 1. 

As a Web site grows in size and complexity, each page is typically dedicated to a particular topic or group of topics.
 

 2. 

A common use of frames is to display a table of contents in one frame, while showing individual pages from the site in another frame.
 

 3. 

A consequence of a frame-based Web site is that the browser has to load multiple HTML files before a user can view the contents of the site.
 

 4. 

Frame-based Web sites can result in increased waiting time for potential customers.
 

 5. 

It is easy to bookmark pages within a Web site that uses frames.
 

 6. 

Some users simply do not like using frames and prefer Web page designs where the entire browser window is devoted to a single page.
 

 7. 

Some Web designers advocate creating both framed and non-framed versions for a Web site and giving users the option of which one to use.
 

 8. 

The frame element is used to describe how frames are organized and displayed within the browser window.
 

 9. 

To create a frame layout, you use the top and bottom attributes of the <frameset> tag.
 

 10. 

You can lay out your frames in both rows and columns at the same time.
 

 11. 

You can specify at most two rows and/or two columns at one time for a frameset.
 

 12. 

The ampersand instructs the browser to allocate any unclaimed space in the frameset to the given row or column.
 

 13. 

You cannot use multiple asterisks when specifying row/column sizes in a frameset.
 

 14. 

You must insert the <frameset> tag between the opening and closing <frame> tags.
 
 
tutorial5_files/i0160000.jpg
 

 15. 

In the figure above, not all of the contents of the page fits into the logo frame, causing a vertical scroll bar to be displayed.
 

 16. 

You cannot control the size of the margin between the source document and the frame border.
 

 17. 

If you do not specify the scrolling attribute for a frame, scroll bars display only when the content of the frame source cannot fit within the boundaries of the frame.
 
 
tutorial5_files/i0200000.jpg
 

 18. 

In the frameset defined in the figure above, scroll bars will display in the first frame.
 

 19. 

To be sure that an entire Web page will be visible in a frame, it is important to view your Web page using several different monitor settings.
 

 20. 

When your browser retrieves a frame’s Web page, it determines the amount of space between the content of the page and the frame border.
 

 21. 

If you specify only a frame’s margin height and not its width (or vice versa), the browser assumes you want to use the same value for both.
 

 22. 

By default, frame borders cannot be resized by users.
 
 
tutorial5_files/i0260000.jpg
 

 23. 

According to the figure above, the target of all links will be the “home” frame.
 

 24. 

According to the figure above, the links.htm page will appear in the “pages” frame.
 

 25. 

Reserved target names are not case-sensitive.
 

 26. 

For all browsers, you need to close and then open the file for changes to the frames to take effect.
 

 27. 

In Internet Explorer, using the bordercolor attribute in a single <frame> tag applies the color to all of the frames.
 
 
tutorial5_files/i0320000.jpg
 

 28. 

Given the frameset definition in the figure above, the frame border will display.
 

 29. 

To use floating frames, you must make sure that your users are running at least Netscape 6.2 or Internet Explorer 5.0.
 

Modified True/False
Indicate whether the sentence or statement is true or false.  If false, change the identified word or phrase to make the sentence or statement true.
 

 30. 

The rows attribute creates a column of frames. _________________________

 

 31. 

The tag <frameset rows=“*,*,*”> creates four rows of frames with equal heights. _________________________

 

 32. 

To create frames using both rows and columns, one frameset must be bracketed inside the other. _________________________

 

 33. 

You can control the size of the margin between the source document and the frame border. _________________________

 

 34. 

To display scroll bars, set the scrolling attribute in the <frame> tag to on. _________________________

 

 35. 

To remove scroll bars from a frame, set the scrolling attribute in the <frame> tag to no. _________________________

 

 36. 

By default, scroll bars are displayed when the content of the source page cannot fit within the frame. _________________________

 

 37. 

If you make changes to a frames Web page and simply reload the page, your changes may not be displayed. _________________________

 

 38. 

You have to specify both a frame’s margin’s height and its width. _________________________

 

 39. 

The attribute for controlling frame resizing is noresize. _________________________

 

 40. 

You should never display pages that lie outside of your Web site within your frames. _________________________

 

 41. 

To target a link to the full display area, you use the top reserved target name. _________________________

 

 42. 

When you use the <noframes> tag, you must include <body> tags. _________________________

 

 43. 

Applying the bordercolor attribute to the <frame> tag affects all of the frames and nested frames within the set. _________________________

 

 44. 

If you apply the bordercolor attribute to a single <frame> tag, that particular color of the border changes in Netscape Navigator. _________________________

 

 45. 

If you apply the bordercolor attribute to a single <frame> tag, all of the frame borders change in Netscape Navigator. _________________________

 

 46. 

The frameborder attribute can be used only in the <frameset> tag, and not in individual <frame> tags. _________________________

 

 47. 

The border attribute is not supported by XHTML. _________________________

 

 48. 

If you are running Netscape 6.2 or earlier, you will not see floating frames. _________________________

 

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

 49. 

The ____ element describes how the frames are organized and displayed within the browser window.
a.
<frameset>
c.
<define>
b.
<frame>
d.
<frames>
 

 50. 

You cannot use both the rows and cols attributes within a single ____ tag.
a.
<frameset>
c.
<set>
b.
<frame>
d.
<layout>
 

 51. 

Row and column sizes can be specified ____.
a.
in points
b.
as a percentage of the total size of the frameset
c.
by an ampersand
d.
All of the above
 

 52. 

The tag ____ lays out frames in which the first column is 160 pixels wide, the second column is 25% of the display area, and the third column covers whatever space is left.
a.
<frameset cols=“160,25%,&”>
c.
<frameset cols=“160,25%,*”>
b.
<frameset cols=“160,25%,%”>
d.
<frameset =“160,25,*”>
 

 53. 

It is a good idea to specify at least one of the rows or columns of your frameset tag with a(n) ____ to ensure that the frames fill up the screen regardless of a user’s monitor settings.
a.
caret
c.
ampersand
b.
asterisk
d.
hyphen
 

 54. 

Using the ____ tag and indenting the <frame> tag a few spaces helps make your HTML code easier to follow and interpret.
a.
nesting
c.
signage
b.
comment
d.
tabular
 

 55. 

Use the ____ target to open external sites in the full browser window.
a.
_full
c.
_new
b.
_self
d.
_top
 

 56. 

Which of the following aspects of a frame’s appearance can you control?
a.
the appearance of scroll bars
b.
the size of the margin between the source document and the frame border
c.
whether or not the user is allowed to resize the frames
d.
Any of the above
 

 57. 

To control the appearance of scroll bars in a frame, use the ____ attribute in the <frame> tag.
a.
bar
c.
scrolling
b.
scroll
d.
noscroll
 

 58. 

In the <frame> tag, if scrolling is set to ____, the scroll bars will display.
a.
display
c.
yes
b.
on
d.
show
 

 59. 

Generally, you want the frame’s ____ to be big enough to keep the source’s text or images from running into the frame’s borders.
a.
height
c.
margin
b.
width
d.
diameter
 

 60. 

You do not want a frame’s ____ to take up too much space, because you typically want to display as much of the source as possible.
a.
height
c.
index
b.
width
d.
margin
 

 61. 

The ____ attribute is included within the <frame> tag to prevent users from modifying the sizes of your frames.
a.
lock
c.
freeze
b.
noresize
d.
fix
 

 62. 

By default, clicking a hypertext link within a frame opens the linked file ____.
a.
in a new browser window
b.
into the full display area, replacing the current frame layout
c.
within the same frame
d.
in the table of contents frame
 

 63. 

The first step in controlling the behavior of hyperlinks in a framed page is to give each frame on the page a(n) ____.
a.
index
c.
role
b.
name
d.
category
 

 64. 

The ____ element is useful when your page contains a lot of links that all point to the same target.
a.
same
c.
all
b.
base
d.
target
 

 65. 

____ target names are special names that can be used in place of a frame name as the target.
a.
Key
c.
Reserved
b.
Preformatted
d.
Index
 

 66. 

Reserved target names are useful ____.
a.
where the name of the frame is unavailable
b.
when you want the page to appear in a new window
c.
when you want the page to replace the current browser window
d.
Any of the above
 

 67. 

The reserved target name ____ loads the document into a new browser window.
a.
_blank
c.
_parent
b.
_self
d.
_top
 

 68. 

The reserved target name ____ loads the document into the full display area.
a.
_blank
c.
_parent
b.
_self
d.
_top
 

 69. 

The ____ target is often used when a framed page is accessed from another.
a.
_new
c.
_top
b.
_blank
d.
_parent
 

 70. 

To allow your Web site to be viewable using browsers that do not support frames, as well as by those that do, you can use the ____ tag to create a section of your HTML file containing code for browsers incapable of viewing frames.
a.
<noframeset>
c.
<noframes>
b.
<body>
d.
<frames>
 

 71. 

You can remove ____ from your frames to free up more space for text and images.
a.
margins
c.
pixels
b.
bases
d.
borders
 

 72. 

Introduced by Internet Explorer 3.0 and added to the HTML 4.0 specifications, a ____ frame is displayed as a separate box or window within a Web page.
a.
borderless
c.
scrolling
b.
floating
d.
free
 

 73. 

With inline frames, the ____ attribute determines the height of the internal margins of a frame, in pixels.
a.
marginheight
c.
height
b.
internalheight
d.
int_height
 

Completion
Complete each sentence or statement.
 

 74. 

A(n) ____________________ is a section of the browser window capable of displaying the contents of an entire Web page.
 

 

 75. 

The ____________________ attribute of the <frameset> tag creates a row of frames.
 

 

 76. 

The ____________________ attribute of the <frameset> tag creates a column of frames.
 

 

 77. 

Row and column sizes can be specified in three ways: in _______________, as a percentage of the total size of the frameset, or by an asterisk.
 

 

 78. 

It is a good idea to specify at least one of the rows or columns of your _______________ with an asterisk to ensure that the frames fill up the screen regardless of a user’s monitor settings.
 

 

 79. 

The tag <frameset rows=“*,*,*”> creates three rows of frames with equal ____________________.
 

 

 80. 

To create frames using both rows and columns, one frameset must be ____________________ inside another.
 

 

 81. 

In terms of a frame’s attributes, you can control whether or not ____________________ bars display.
 

 

 82. 

In terms of a frame’s attributes, you can determine whether or not the user is allowed to change the ____________________ of the frame.
 

 

 83. 

With inline frames, the align, border, vspace, and hspace attributes are all ____________________ but the src, frameborder, and scrolling attributes are all acceptable.
 

 

 84. 

In specifying margins for a frame, marginheight is the amount of space, in ____________________, above and below the content of the page in the frame.
 

 

 85. 

Some Web designers prefer to freeze, or ____________________ frames, so that users cannot resize them.
 

 

 86. 

The noresize attribute is included within the ____________________ tag to prevent users from modifying the sizes of your frames.
 

 

 87. 

To use the same ____________________ for all links in a page, specify it in the base element.
 

 

 88. 

The ____________________ element is used within the document head of your HTML file to specify global options for the page.
 

 

 89. 

Reserved ____________________ names are special names that can be used in place of a frame name as the target.
 

 

 90. 

Reserved ____________________ names are useful in situations where the name of the frame is unavailable, when you want the page to appear in a new window, or when you want the page to replace the current browser window.
 

 

 91. 

You can change the color of a frame ____________________ so that it matches or complements the color scheme for your Web site.
 

 

 92. 

A floating, or ____________________, frame is displayed as a separate box or window within a Web page.
 

 

Matching
 
 
Identify the letter of the choice that best matches the phrase or definition.
a.
frame
e.
_blank
b.
body
f.
_self
c.
frameset
g.
_parent
d.
base
h.
_top
 

 93. 

This element describes how the frames are organized and displayed within the browser window
 

 94. 

Reserved target name that loads the document into the same frame or window that contains the link
 

 95. 

The frameset typically does not include this
 

 96. 

Reserved target name that loads the document into the parent frame containing the link
 

 97. 

Reserved target name that loads the document into the full display area, replacing the current frame layout
 

 98. 

Reserved target name that loads the document into a new browser window
 

 99. 

A section of the browser window capable of displaying the contents of an entire Web page
 

 100. 

This element is used to specify global options for a page
 



 
Submit          Reset Help