How can we help?

You can also find more resources in our Help Center.

147 terms

Webmaster - Chapter 1 Test

HTML 5, CSS 3
STUDY
PLAY
The ____ tags display text below normal text.
<below> </below>
<under> </under>
<sub> </sub>
<down> </down>
<sub> </sub>
The ____ tags display text above normal text.
<above> </above>
<up> </up>
<sup> </sup>
<on> </on>
<sup> </sup>
A(n) ____ style sheet is a separate document with a .css extension.
inline
embedded
extended
external
external
In this embedded style3 the h1 element is the ____. <style type= "text/css">
<!--
h1 {font-family: Garamond
font-size: 32pt}
-->
</style>

declaration
anchor
declamation
selector
selector
Font-families are separated by ____.
periods
commas
semicolons
colons
commas
Which of the following is NOT a pseudo-class that can be used when applied to the anchor or link selector?
link
focus
visited
hover
focus
A pseudo-class is attached to a ____ to specify a state or relation and give the Web developer more control.
declaration with an ampersand
declaration with an @ sign
selector with a colon
selector with a period
selector with a colon
The code ____ eliminates completely the underline on text links.
a:hover text-underline: none
a:hover text-decoration: blank
a:active text-underline: none
a:hover text-decoration: none
a:hover text-decoration: none
The ____ tags create a container into which a user can add an inline style.
<div></div>
<span></span>
<p></p>
<style></style>
<span></span>
A(n) ____ path specifies the exact address for the file to which you are linking or displaying a graphic.
absolute
indexed
relative
baseline
absolute
To make a style of one paragraph to be different from the style of others, you can define specific elements of an HTML file as a category, or a(n) ____.
area
style set
class
index
class
The part of the style statement that identifies the page elements is called the ____.
anchor
declamation
declaration
selector
selector
The tag and the class name are separated by a ____.
colon
number sign
period
comma
period
To establish a class in which text associated with the class name "footer" displays in a 9-point blue font, you would add a style statement like this one: ____.
class.footer {color: blue font-size: 9pt}
footer {color: blue text: 9pt}
p.footer {color: blue text-size: 9pt}
p[footer] {color: blue point: 9pt}
p.footer {color: blue text-size: 9pt}
Once you have added a style statement with the class name "footer" you can display text in the style of that class using the ____ tag.
<p.class.footer>
<p class="footer">
<p>footer</p>
<p.footer>text here</p>;
<p class="footer">
_____ can serve as hyperlinks.
Text
Images
Animations
Video
Text
Images
Animations
A well-designed Web page provides a way for visitors to contact the person responsible for ____.
designing the Web site
maintaining the Web server
designing the Web site
Examples of content types for the <a> tag include ____.
text/html
video/quicktime
image/jpeg
text/css
All of above
The <pre> tag sets enclosed text as preformatted material, preserving ____.
images
line breaks
spaces
punctuation
line breaks
spaces
To create a link to a link target ____.
the target name is enclosed in quotation marks
the href attribute is followed by an #
the href attribute is followed by an #
The change of a mouse pointer to a(n) hourglass when moved over text, for example, indicates that a link is available from the text.
True
False
True
With Internet Explorer, the default color for a visited link is red.
True
False
False
With Internet Explorer, the default color for a normal link that has not been clicked is purple.
True
False
False
If you want to change the colors of text links to override the browser defaults, you can designate those changes in the anchor <a> or <html> elements using an embedded or external style sheet, or by using an inline style.
True
False
False
If you determine that you can effectively turn the underline off on a link, you can change the underline attribute to none.
True
False
False
Using hyperlinks, a Web site visitor can move from one page to another, to view information in any order.
True
False
True
When using text links on a Web page, it is recommended that you use the phrase "Click here."
True
False
False
If an image has no border, no frame will appear around the image.
True
False
True
Web pages rarely include links to connect one Web page to another page within the same Web site.
True
False
False
Links within a Web page allow visitors to move quickly from one section of the Web page to another.
True
False
True
With an inter-page link, you insert the ampersand before the target id to indicate that you want to link to a specific section of a Web page, not necessarily the top of the page.
True
False
False
By including links within a Web page, a visitor can click a link to move directly to a section of interest, rather than scrolling through the entire Web page.
True
False
True
The home page should indicate clearly what links the visitors should click to move from one Web page on the Web site to another.
True
False
True
It is unusual for Web developers to utilize images to call attention to a Web page.
True
False
False
Using the same graphical image on all marketing materials is a good way to provide a consistent visual and brand message to customers.
True
False
True
If you find a graphic you want to use, right-click the image, click ____ on the shortcut menu, and then save the image to your computer.
Store graphic
Archive JPEG
Save JPEG
Save picture as
Save picture as
The ____ of an image impacts how long it takes an image to load.
size
complexity
subject
both a and b
both a and b
To create a(n) ____ version of an image, the image can be re-sized to a smaller size in a paint or image-editing program and then saved with a different file name.
thumbnail
pixelated
indexed
master
thumbnail
To end right-aligned text wrap, enter the ____ tag where the text should stop wrapping to the right.
<br style="clear: right" />
<br stop="right" />
<br nowrap="right" />
<br end="right" />
<br style="clear: right" />
The alt attribute provides information about the purpose of an image for assistive technology such as screen readers.
True

False
Identifying the width and height attributes of an image can compromise page loading time.
True
False
False
The <a> and </a> tags used to create a text link to a Web page within the same Web site are used to create a link to a Web page in another Web site.
True
False
True
The <pre> </pre> tags indent margins on sections of text.
True
False
False
To ensure that text appears as bold font, you would enclose it between a start <b> and end </b> tag.
True
False
True
In practice, the <strong> and <b> tags usually have the same result when the Web page displays.
True
False
True
A good technique for long Web pages is to allow visitors to link back to the top of the Web page easily from several places on the page.
True
False
True
You can add up to 15 classes in a given Web page.
True
False
False
The float property indicates in which direction to display an element being inserted on a Web page.
True
False
True
Alignment is rarely considered when inserting an image.
True
False
False
The Web contains many Web sites with thousands of image files on countless subjects that can be downloaded free and used for noncommercial purposes.
True
False
True
Regardless of where you get an image, always be aware of copyright rules and regulations.
True
False
True
The textarea control has two primary attributes: ____.
rows and cols
size and maxlength
size and width
select and option
rows and cols
It is a good rule of thumb to keep the number of columns in a textarea to ____ or fewer.
10
15
25
50
50
The ____ attribute identifies the specific information that is being sent when the form is submitted for processing.
spec
name
target
this
name
All controls except one have a ____ attribute.
name
link
value
select
value
The <____> tag defines the text that displays in the grouping borders.
key
legend
cluster
aggregate
legend
The ____ attribute of the <form> tag indicates the URL for the action to be completed by the server.
method
process
action
http
action
There are two primary methods to send the form to the server to be processed: ____
send and put
get and post
get and put
CGI and HTML
get and post
Which of the following is a program written in a programming language (such as Perl) that communicates with the Web server?
HTML function
CGI script
URL imagemap
post method
CGI script
The ____ attribute of the <form> tag specifies the manner in which the data entered in the form is sent to the server to be processed
process
server
http
method
method
The ____ method sends the name-value pairs to the end of the URL indicated in the action attribute.
get
base
post
serve
GET
The size="2" attribute means which of the following?
two characters will appear, but more may be entered, depending on the maxlength attribute.

one character will appear, and the second will be truncated

two characters will appear, and no more may be entered

at most, two characters can be entered
two characters will appear, and no more may be entered
The default type for the <input /> tag is a ____.
radio button
checkbox
text box
textarea
text box
If no ____ attribute value is specified, a selection menu initially displays only one option, along with a list arrow to view other choices in the list.
default
choice
size
checked
size
If a selection menu includes the size attribute with a value of 3, ____ choice(s) will appear in the menu.
one
two
three
four
three
If the ____ attribute was not used to create a selection menu, the Web page visitor will be allowed to select only one choice in the menu.
several
many
choices
multiple
multiple
Form controls are useless unless the information entered in the form can be submitted for ____.
concatenation
processing
aggregation
all of the above
processing
Which of the following tags gives you the option of using an image for a Submit button, rather than using the default button style?
<option>
<image button>
<modify>
<button>
<button>
The <form method=post action=mailto:ahs@isp.com> tag designates that the ____ method will be used to send data to the appropriate location for processing.
mailto
form
post
action
post
Which of the following characters strings together all of the form responses?
&
!
@
%
&
Which of the following buttons deletes any data previously typed into text or textarea fields?
New
Restore
Clear
Reset
Reset
Which of the following is a main component of a Web page form?
input controls
<form> tag
link to a major search engine
Submit button
input controls
<form> tag
Submit button
A text input control is a ____ box.
link
textarea
password text
text
textarea
password text
text
Which of the following controls creates a list item?
checkbox
radio
list
dropdown
checkbox
radio
A password always appears as a series of which of the following?
characters
asterisks
bullets
ampersands
characters
asterisks
bullets
When a Web page visitor clicks the Submit button on the form, which of the following is sent to be processed?
parameters of the control
value of the data contained with the control
dimensions of the field
name of the control
value of the data contained with the control
name of the control
...A text control creates a text box that is used for a single line of input.
True
False
By default, all check boxes are pre-selected.
True
False
False
...The reset input control sends the information from a form to the appropriate location for processing.
True
False
False
A Web page form must include a Reset button.
True
False
False
The paragraph input control creates a multiple-line field for a relatively large amount of text.
True
False
False
Using a Web page form for user input reduces the potential for errors because customers enter data or select options from the form included directly on the Web page.
True
False
True
Which of the following is a measurement value for padding?
&
pt
er
pd
pt
One ____ is the x-height of a font.
pc
ex
pt
em
ex
The measurement x-height is usually about ____ the font size.
one-eighth
one-quarter
half
double
half
A(n) ____ is equivalent to 1/72 of an inch.
pica
point
pixel
em
point
A(n) ____ is equivalent to 12 points.
pixel
pica
ex
em
pica
If you do not use the ____ property, the elements display on the Web page in the order in which they appear.
order
index
placement
position
position
The ____ code sets the style so that the Web page element remains constant and does not move.
placement: fixed
index: permanent
order: absolute
position: absolute
position: absolute
Which of the following is NOT a position property value?
dynamic
fixed
absolute
static
dynamic
The ____ property value generates an absolutely positioned element, positioned relative to the first parent element that has a position other than static.
absolute
relative
fixed
static
absolute
The ____ property value generates an absolutely positioned element, positioned relative to the browser window.
absolute
relative
fixed
static
relative
...The ____ property value generates a relatively positioned element, positioned relative to its normal position
absolute
relative
fixed
static
fixed
The ____ property value places the element in the normal flow
absolute
relative
fixed
static
static
The ____ property value is the default.
absolute
relative
fixed
static
static
You can specify font-weight using numerical values from ____.
1 to 10
100 to 900
100 to 1000
1000 to 5000
100 to 900
With the font-weight property, normal text that is not bold has a value of ____.
4
40
400
4000
400
With external style sheets, the link statement is placed between the ____ tags.
<html> </html>
<body> </body>
<head> </head>
<css> </css>
<head> </head>
You can set specific styles using the ____ tags.
<div> </div>
<set> </set>
<css> </css>
<format> </format>
<div> </div>
The ____ model describes the structure of the elements that are displayed on the Web page.
space
spatial
visual
box
box
...Which of the following is not an element of the box model?
content
border
padding
format
format
Using HTML tags and CSS to change the way a Web page appears in a Web browser, such as adding ____, is known as the style of the Web page.
italic
headings
colors
tables
all of above
If a style is intended for most (or all) of the Web pages on a Web site, you may want to use a(n) ____ style sheet.
dynamic
embedded
external
inline
embedded
external
Which of the following is a length unit used with the word-spacing property?
inches
points
centimeters
picas
all of above
Which of the following is a unit of measurement you can use with the line-height property?
inch
pt
em
ex
pt
em
You can use shorthand properties with ____.
padding
margins
borders
fonts
all of above
For Web sites with many Web pages that have a common look, a(n) embedded style sheet may be the best option.
True
False
false
...The embedded style sheet overrides inline style sheets.
True
False
false
The embedded style sheet is good to use if you want the style to affect one (or a few) Web pages, and not all pages across the Web site
True
False
True
With the line-height property, you can control the horizontal spacing between lines of text.
True
False
False
The unit 1ex is equal to the current font size.
True
False
False
Although CSS allows Web developers to make changes to the design of a Web page, CSS is limited in its ability to define the appearance, or style, across one or more Web pages.
True
False
False
To link a style sheet to a Web page, the <link> tag must use "text/css" as the value for the type property.
True
False
True
In the tag, <link rel="stylesheet" type="css" href="sheetname.css" />, the external style sheet is located in the main or root directory of the Web site.
True
False
True
Paged media is the same as continuous media in that the content of the document is not split into one or more discrete pages.
True
False
False
When Web site visitors print a Web page, they generally want to print the content of the Web page, which would include a navigation menu bar, for example.
True
False
False
You can limit what prints by creating an external style sheet that is used specifically to ses the styles for a printed Web page.
True
False
True
Page selectors give a Web developer the flexibility to designate the first page, all left pages, or all right pages.
True
False
True
The ____ video file format was developed by Microsoft for use with Windows.
Flash Video
RealVideo
AVI
MP4
AVI
The ____ video file format was developed by Adobe
AVI
QuickTime
Flash Video
MP4
Flash Video
The ____ video file format is used by YouTube and Hulu.
Windows Media
Flash Video
Shockwave Flash
QuickTime
Flash Video
The ____ video file format was developed by Apple Computer for both Windows and Mac operating systems.
RealVideo
MP4
QuickTime
AVI
QuickTime
The term ____is used to describe the things that people want to place in HTML documents.
embed
object
class
media
object
Which of the following is supported by the object element?
pictures
videos
sounds
all of the above
all of the above
Each type of media player has various <object> tag ____ that can be used.
attributes
applets
indices
parameters
parameters
The ____ parameter for Windows Media Player specifies whether the current media item begins playing automatically.
autoplay
playcount
selfstart
autostart
autostart
The ____ parameter for Windows Media Player specifies the base URL used for relative path resolution with URL script commands that are embedded in media items.
baseURL
relativePath
fullscreen
embeddedScript
baseURL
In specifying the current stereo balance with the appropriate parameter for Windows Media Player, what is the high end of the range?
1
50
100
500
100
What is the default value for the playcount parameter for Windows Media Player?
0
1
true
There is no default.
1
What is the default value for the uimode parameter for Windows Media Player?
invisible
mini
none
full
full
When the ____ parameter for Windows Media Player is set to true, the player control renders video directly in the client area.
fullscreen
showcontrols
unimode
windowlessvideo
windowlessvideo
The ____ parameter for QuickTime specifies if the player controls should show.
showControl
controller
displayControls
autoshow
controller
...The ____ parameter for QuickTime specifies the time in the clip at which the video begins.
clip
begin
starttime
originate
start time
If you do not want to start an .mp3 file automatically, you would add a <param name="____" value="false" /> statement within the <object></object> container.
autoplay
selfstart
autostart
autocount
autostart
Internet Explorer sets security to ____ by default.
high
medium
medium-low
low
high
...Internet Explorer's default security setting prohibits ____ controls from running without your intervention.
indexed
JavaScript
playback
ActiveX
ActiveX
ActiveX controls display in the ____ browser.
Safari
Chrome
Firefox
Internet Explorer
Internet Explorer
Instructors use videos to help students better understand complex topics in online classes.
True
False
True
Video clips are unlikely to have a large file size.
True
False
False
When you want to see what a video clip looks like at its default size, you must enter the height and width attributes.
True
False
False
With Windows Media Player, the default for the autostart parameter is "false," which means that a clip will not automatically start unless you set autostart to "true."
True
False
False
With the playcount parameter of the <object> tag, the default is two times.
True
False
False
With the <video> tag, the poster attribute specifies an image to be shown while the video is downloading, or until the user hit the play button.
True
False
True
The video element validates in HTML 4 and XHTML.
True
False
False
The name parameter for the Windows Media Player tells the name of the object that you want to insert.
False
What is the default value for the baseURL parameter for Windows Media Player?
true
false
1
There is no default
There is no default
Which of the following attributes specifies a reset button?
type="option"
master="reset"
reset="type"
type="reset"
type="reset"