Name: 
 

Tutorial 5



True/False
Indicate whether the 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.
 
 
nar001-1.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.
 
 
nar002-1.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.
 
 
nar003-1.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.
 
 
nar004-1.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 statement is true or false.  If false, change the identified word or phrase to make the 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 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. 

The general syntax for creating an HTML file with frames does not include an opening and closing ____ tag.
a.
<html>
c.
<head>
b.
<body>
d.
All of the above
 

 51. 

The general syntax for creating an HTML file with frames includes ____.
a.
the organization of the frames
b.
the way the frames are displayed
c.
the documents displayed within the frames
d.
All of the above
 

 52. 

To create a frame layout, you use the rows and cols attributes of the ____ tag.
a.
<frame>
c.
<frameset>
b.
<set>
d.
<layout>
 

 53. 

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

 54. 

What is the limit to the number of rows/columns you can specify for a frameset?
a.
1 row and 1 column
c.
4 rows and 4 columns
b.
2 rows and 2 columns
d.
There is no limit.
 

 55. 

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
 

 56. 

In specifying the size of rows/columns in a frameset, the ____ instructs the browser to allocate any unclaimed space in the frameset to the particular row or column.
a.
ampersand
c.
asterisk
b.
hyphen
d.
dollar sign
 

 57. 

The tag ____ creates two rows of frames: the first row has a height of 160 pixels and the second row’s height is equal to whatever space remains in the display area.
a.
<frameset rows=“160,*”>
c.
<frameset rows=“*,160”>
b.
<frameset rows=“160,%”>
d.
<frameset =“160,%”>
 

 58. 

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,*”>
 

 59. 

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
 

 60. 

The tag ____ creates three rows of frames with equal heights.
a.
<frameset rows=“%,%,%”>
c.
<frameset rows=“&,&,&”>
b.
<frameset rows=“3,33,3”>
d.
<frameset rows=“*,*,*”>
 

 61. 

You must insert the <frame> tag between the opening and closing ____ tags.
a.
<frameset>
c.
<set>
b.
<body>
d.
<layout>
 

 62. 

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
 

 63. 

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

 64. 

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
 

 65. 

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
 

 66. 

With respect to the amount of space between the frame source and the frame boundary, the margin ____ is defined as the space to the left and right of the frame source.
a.
width
c.
diameter
b.
height
d.
metric
 

 67. 

With respect to the amount of space between the frame source and the frame boundary, the margin ____ is defined as the space above and below the frame source.
a.
width
c.
diameter
b.
height
d.
circumference
 

 68. 

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

 69. 

In the <frame> tag, if scrolling is set to ____, the scroll bars will never display.
a.
no
c.
hide
b.
off
d.
never
 

 70. 

The ____ target is used when you are linking to pages that lie outside your Web site altogether.
a.
_new
c.
_self
b.
_top
d.
_outside
 

 71. 

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
 

 72. 

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
 

 73. 

In specifying the margins for a frame, ____ is the amount of space above and below the content of the page in the frame.
a.
marginheight
c.
margintop
b.
marginwidth
d.
marginbottom
 

 74. 

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
 

 75. 

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
 

 76. 

What is the syntax for assigning a name to a frame?
a.
<frame target=“ name” />
c.
<frame src=“ name” />
b.
<frame url=“ name” />
d.
<frame src=“url” name=“name” />
 

 77. 

To use the same target for all links in a page, add the target attribute to the ____ element in the document head.
a.
base
c.
all
b.
same
d.
target
 

 78. 

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
 

 79. 

Which of the following frame names is the same as “INFORMATION”?
a.
“Information”
c.
“INformation”
b.
“information”
d.
None of the above
 

 80. 

You can use the ____ attribute to open a page in a new browser window.
a.
new
c.
target
b.
link
d.
open
 

 81. 

You can use the ____ attribute to open a linked document in a specific frame.
a.
target
c.
specify
b.
frame
d.
link
 

 82. 

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
 

 83. 

____ 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
 

 84. 

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
 

 85. 

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

 86. 

The reserved target name ____ loads the document into the same frame that contains the link.
a.
_blank
c.
_parent
b.
_self
d.
_top
 

 87. 

The reserved target name ____ loads the document into the parent of the frame that contains the link.
a.
_blank
c.
_parent
b.
_self
d.
_top
 

 88. 

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

 89. 

The reserved target name ____ replaces the current frame layout.
a.
_top
c.
_self
b.
_blank
d.
_parent
 

 90. 

All reserved target names begin with ____ to distinguish them from other target names.
a.
+
c.
*
b.
_
d.
^
 

 91. 

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

 92. 

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>
 

 93. 

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

 94. 

You can change border width in Internet Explorer using the ____ attribute.
a.
framespacing
c.
cellpadding
b.
cellspacing
d.
borderwidth
 

 95. 

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
 

 96. 

With inline frames, the frameborder attribute specifies whether to display a frame border or not using the values ____.
a.
on or off
c.
1 or 0
b.
yes or no
d.
true or false
 

 97. 

The ____ attribute of the <iframe> tag specifies whether to display a border or not.
a.
border
c.
bordersize
b.
borderwidth
d.
frameborder
 

 98. 

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 statement.
 

 99. 

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

 

 100. 

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

 

 101. 

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

 

 102. 

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.
 

 

 103. 

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.
 

 

 104. 

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

 

 105. 

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

 

 106. 

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

 

 107. 

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

 

 108. 

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

 

 109. 

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

 

 110. 

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

 

 111. 

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

 

 112. 

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

 

 113. 

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

 

 114. 

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

 

 115. 

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.
 

 

 116. 

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

 

 117. 

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
 

 118. 

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

 119. 

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

 120. 

The frameset typically does not include this
 

 121. 

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

 122. 

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

 123. 

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

 124. 

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

 125. 

This element is used to specify global options for a page
 

Short Answer
 

 126. 

What is the syntax for creating a frameset element?
 

 127. 

Why doesn’t the syntax for an HTML file with frames include a page body?
 

 128. 

What is the syntax for creating a row frame layout?
 

 129. 

What is the syntax for creating a column frame layout?
 

 130. 

Explain what the tag <frameset cols=“160,25%,*”> results in.
 

 131. 

What is the tag to specify the source for a frame?
 

 132. 

To create frames using both rows and columns, one frameset must be nested inside another; when you use this technique, the interpretation of the rows and cols attributes changes slightly. Give an example.
 

 133. 

What are the three attributes of a frame that you can control?
 

 134. 

What is the syntax for the scrolling attribute?
 

 135. 

How can you guarantee that changes made to a frames page will display?
 

 136. 

When you should remove scroll bars from a frame?
 

 137. 

What is the attribute for specifying margin sizes for a frame?
 

 138. 

What is the attribute for controlling frame resizing?
 

 139. 

What is the syntax for the attribute for assigning a name to a frame?
 

 140. 

What are the two required steps when you want to control the behavior of hyperlinks in a framed page?
 

 141. 

What is the syntax for the target attribute for pointing the target of a link to a named frame?
 

 142. 

What is important to remember about the target attribute with respect to XHTML?
 

 143. 

What is the syntax to specify whether a frame border is displayed?
 

 144. 

What are seen as the advantages and disadvantages of removing frame borders and creating a “seamless” Web page?
 

 145. 

What is the syntax for a floating frame?
 

Essay
 

 146. 

What implications do frame-based Web sites have on download times? on older browsers? What about personal preference? What do designers advocate as a way to address these concerns?
 

 147. 

List six issues to consider before you start creating your frames.
 

 148. 

Define each of the four reserved target names.
 

 149. 

What is the general syntax for the <noframes> tag?
 

 150. 

Provide five tips for using frames.
 



 
Check Your Work     Start Over