Deck 3: Designing a Web Page with CSS
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/137
Play
Full screen (f)
Deck 3: Designing a Web Page with CSS
1
Without underlines,there is no visual clue that the links in the navigation list act as hypertext.
True
2
Another type of style sheet created by a Web page author is an embedded style sheet,
in which the styles are inserted directly within the body element of an HTML document.
in which the styles are inserted directly within the body element of an HTML document.
False
3
The exact order in which external style sheets and embedded style sheets are processed
by the browser depends on the order in which they are listed within the HTML file.
by the browser depends on the order in which they are listed within the HTML file.
True
4
Saturation measures the intensity of the chosen color and ranges from 0% (no color)up to 100% (full color).
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
5
By default,browsers offset ordered and unordered lists from the surrounding text.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
6
One advantage of user-defined style sheets is that they make the Web more accessible to visually impaired users who may require larger fonts or the absence of clashing color schemes.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
7
Links that are underlined or highlighted only when the mouse pointer hovers over the linked text display what is known as the hover over effect.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
8
Styles set by the author of a Web page and stored in an internal style sheet are loaded
after internal and user-defined style sheets.
after internal and user-defined style sheets.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
9
The first style sheet interpreted by the browser is the one built in to the browser itself.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
10
To render a document,the device displaying the page needs a style sheet that specifies the appearance of each page element.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
11
A color value is an alphabetic expression that describes the properties of a color.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
12
Absolute measurements are appropriate when you know the physical properties of
an output device and want to fix a size to a specific value.
an output device and want to fix a size to a specific value.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
13
Style sheets cannot be as long and complicated as HTML files.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
14
Good management skills are as crucial to good Web design as a well-chosen color or typeface.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
15
The subscript and superscript styles lower or raise text vertically,as well as resize it.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
16
Web pages are unstructured documents in which elements are nested within other elements,
forming a hierarchy of elements.
forming a hierarchy of elements.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
17
CSS also allows RGB values to be entered as hexadecimal numbers.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
18
In every version of CSS,you apply a style rule containing a list of style properties to an
element or a group of elements known as a selector.
element or a group of elements known as a selector.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
19
A generic font describes the general appearance of a typeface,but does not rely on a specific font definition.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
20
List style types can be used with contextual selectors to create an outline style based
on nested lists.
on nested lists.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
21
To import a style sheet,add the command
=import url(url);
to the style sheet file,where url is the URL of an external style sheet file._________________________
=import url(url);
to the style sheet file,where url is the URL of an external style sheet file._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
22
A user could change the font size assigned to paragraph and heading text,set foreground and background colors,and specify whether or not to display _____ images.
A) outline
B) inline
C) clip art
D) graphic
A) outline
B) inline
C) clip art
D) graphic
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
23
A parent element is an element that contains one or more other elements,which are child elements of the parent._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
24
A pixel is a relative unit because the actual rendered size depends on the density
of the output device._________________________
of the output device._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
25
The second version of CSS,CSS2,was introduced in 1998,expanding the language to provide styles to _________.
A) set the font size, type, and other properties of Web page text
B) apply a background image to any element
C) specify background and foreground colors of different page elements
D) position elements at specific locations on a page
A) set the font size, type, and other properties of Web page text
B) apply a background image to any element
C) specify background and foreground colors of different page elements
D) position elements at specific locations on a page
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
26
Writing a style rule on a single line saves space,but entering each style property
on a separate line often makes your code easier to read and edit._________________________
on a separate line often makes your code easier to read and edit._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
27
CSS2 made it possible to create Web pages that had visually interesting and attractive
designs and layouts._________________________
designs and layouts._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
28
Leading refers to the amount of space between characters,while tracking refers to the amount of space between words._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
29
RGB triplets can describe 256^3 (16.7 million)possible colors,which is a greater number of colors than the human eye can distinguish._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
30
An additional factor in applying a style sheet is that properties are passed from a parent
element to its children in a process known as style inheritance.
element to its children in a process known as style inheritance.
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
31
A decimal is a number expressed in base 16 rather than in the base 10 form we use every day._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
32
One approach to retaining the consistency of Web page text is to use absolute units,which are expressed relative to the size of other objects within the Web page._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
33
Hue measures the brightness of the color and ranges from 0% (black)up to
100% (white)._________________________
100% (white)._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
34
The style sheet rules in a(n)________ style sheet take precedence over any rules set in the browser's internal style sheet or in a user-defined style sheet.
A) internal
B) outside
C) embedded
D) external
A) internal
B) outside
C) embedded
D) external
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
35
Structural pseudo-elements are used to classify items based on their locations within the
hierarchy of page elements._________________________
hierarchy of page elements._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
36
An external style sheet is included by adding the link element
To the document head,where ______is the URL of the external style sheet file.
A) stylesheet
B) text/css
C) url
D) href
To the document head,where ______is the URL of the external style sheet file.
A) stylesheet
B) text/css
C) url
D) href
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
37
A general font is a font that is identified by name,such as Times New Roman or Helvetica._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
38
The @font-face rule is one example of a CSS @rule,which specifies a command or directive that controls how browsers interpret and run the contents of a CSS style sheet._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
39
Relative units define a font size using one of five standard units of measurement._________________________
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
40
The ______ statement must always come before any other style rules in the style
Sheet.
A) @import
B) @embed
C) !import
D) !embed
Sheet.
A) @import
B) @embed
C) !import
D) !embed
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
41
CSS allows RGB values to be entered as ____.
A) decimals
B) hexadecimals
C) WYSIWYG values
D) RBG values
A) decimals
B) hexadecimals
C) WYSIWYG values
D) RBG values
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
42
Browsers recognize five ____ font groups.
A) specific
B) monospace
C) generic
D) designed
A) specific
B) monospace
C) generic
D) designed
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
43
If two style rules have equal specificity,and thus equal importance,then the one that is defined _____ in the style sheet is the one used.
A) last
B) first
C) second
D) third
A) last
B) first
C) second
D) third
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
44
An additional factor in applying a style sheet is that properties are passed from a parent
Element to its children in a process known as __________.
A) style sheets
B) an embedded style sheet
C) style inheritance
D) style link
Element to its children in a process known as __________.
A) style sheets
B) an embedded style sheet
C) style inheritance
D) style link
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
45
In the hexadecimal system,16 is expressed as ____.
A) 1F
B) F
C) 10
D) 1
A) 1F
B) F
C) 10
D) 1
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
46
To set the foreground or text color of an element,use the following property:
A) text: color;
B) forecolor: color;
C) color: color;
D) backcolor: color;
A) text: color;
B) forecolor: color;
C) color: color;
D) backcolor: color;
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
47
Yellow has the triplet ____.
A) (0, 0, 0)
B) (255, 255, 0)
C) (0, 255, 255)
D) (255, 0, 255)
A) (0, 0, 0)
B) (255, 255, 0)
C) (0, 255, 255)
D) (255, 0, 255)
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
48
Many Web browsers now include _______ tools to allow page designers to
Track each style back to its source.
A) designer
B) planner
C) developer
D) creator
Track each style back to its source.
A) designer
B) planner
C) developer
D) creator
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
49
The @import rule has the same impact as adding multiple ____ elements to the
HTML file.
A) connection
B) link
C) contact
D) integrated
HTML file.
A) connection
B) link
C) contact
D) integrated
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
50
In the hexadecimal system,21 is expressed as ____.
A) 1F
B) F
C) 15
D) F1
A) 1F
B) F
C) 15
D) F1
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
51
____ units express font size relative to the size of other objects within the Web page.
A) Absolute
B) Relative
C) Standard
D) Output
A) Absolute
B) Relative
C) Standard
D) Output
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
52
CSS supports the ___ basic color names.
A) 16
B) 64
C) 256
D) 216
A) 16
B) 64
C) 256
D) 216
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
53
Unlike an external style sheet,a(n)_______ style sheet is applied only to the Web
Page in which it is placed.
A) linked
B) internal
C) embedded
D) integrated
Page in which it is placed.
A) linked
B) internal
C) embedded
D) integrated
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
54
____ units define a font size using one of five standard units of measurement.
A) Relative
B) Absolute
C) Standard
D) Uppercase
A) Relative
B) Absolute
C) Standard
D) Uppercase
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
55
Color also evokes an emotional response,in which certain colors are associated with
Particular feelings or concepts,such as the color ____ for assertive,powerful,sexy,and dangerous.
A) black
B) orange
C) blue
D) red
Particular feelings or concepts,such as the color ____ for assertive,powerful,sexy,and dangerous.
A) black
B) orange
C) blue
D) red
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
56
If you use a hexadecimal value for a color,you preface the hexadecimal string with a(n)____.
A) pound symbol
B) ampersand
C) question mark
D) exclamation point
A) pound symbol
B) ampersand
C) question mark
D) exclamation point
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
57
Adding all three primary colors-red,green and blue-at maximum intensity produces the color _____,while adding any two of the three primary colors at maximum intensity produces the trio of complementary colors-yellow,magenta,and cyan.
A) white
B) blue
C) lime
D) black
A) white
B) blue
C) lime
D) black
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
58
Style comments can also be added to embedded style sheets as long as they are placed between the opening and closing
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
59
CSS supports styles to define both the text and ______ color for each element on your page.
A) font
B) background
C) style
D) forecolor
A) font
B) background
C) style
D) forecolor
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
60
Inline styles are styles applied directly to specific elements using the style attribute
…
Where element is the HTML element and _______ are CSS styles applied to that element.
A) style rules
B) element
C) element style
D) style
Where element is the HTML element and _______ are CSS styles applied to that element.
A) style rules
B) element
C) element style
D) style
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
61
The color scheme that uses two hues close to one another on the color wheel in which one color is the
Dominant color and the other is a supporting color used only for highlights and nuance is _____.
A) triad
B) tetrad
C) analogic
D) monochrome
Dominant color and the other is a supporting color used only for highlights and nuance is _____.
A) triad
B) tetrad
C) analogic
D) monochrome
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
62
______ measures the brightness of the color and ranges from 0% (black)up to
100% (white).
A) Hue
B) Saturation
C) Lightness
D) Darkness
100% (white).
A) Hue
B) Saturation
C) Lightness
D) Darkness
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
63
_____ defines how much of the colors below the surface of the current object show through to affect its appearance.
A) Clarity
B) Saturation
C) Lightness
D) Opacity
A) Clarity
B) Saturation
C) Lightness
D) Opacity
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
64
____ is the tint of the color and is based on the color's location on the color
Wheel.
A) Hue
B) Saturation
C) Lightness
D) Darkness
Wheel.
A) Hue
B) Saturation
C) Lightness
D) Darkness
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
65
____ is the space between lines of text.
A) Tracking
B) Kerning
C) Leading
D) Dithering
A) Tracking
B) Kerning
C) Leading
D) Dithering
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
66
Each child element may contain children of its own and so forth down the hierarchy,creating a set of ______ elements that are all descended from a common parent.
A) descendant
B) child
C) parent
D) sibling
A) descendant
B) child
C) parent
D) sibling
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
67
A technique known as ______ enhancement places code conforming to older
Standards before newer properties.
A) color
B) progressive
C) text
D) opacity
Standards before newer properties.
A) color
B) progressive
C) text
D) opacity
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
68
Two child elements that share the same parent are referred to as ______ elements.
A) parent
B) sibling
C) child
D) descendant
A) parent
B) sibling
C) child
D) descendant
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
69
A _____ element is an element that contains one or more other elements,which are child elements.
A) family
B) sibling
C) parent
D) descendant
A) family
B) sibling
C) parent
D) descendant
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
70
The style rule
* {color: blue;}
Uses the asterisk (*)selector-also known as the ______ selector-to select all elements
In the document.
A) character
B) text
C) wildcard
D) object
* {color: blue;}
Uses the asterisk (*)selector-also known as the ______ selector-to select all elements
In the document.
A) character
B) text
C) wildcard
D) object
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
71
______ measures the intensity of the chosen color and ranges from 0% (no color)up to 100% (full color).
A) Hue
B) Saturation
C) Lightness
D) Darkness
A) Hue
B) Saturation
C) Lightness
D) Darkness
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
72
With semi-transparent colors,the final color rendered by a browser depends on the
Background color of the ______element.
A) parent
B) child
C) sibling
D) descendant
Background color of the ______element.
A) parent
B) child
C) sibling
D) descendant
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
73
A(n)____ represents a single dot on the output device.
A) element
B) icon
C) link
D) pixel
A) element
B) icon
C) link
D) pixel
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
74
The amount of space between pairs of letters is referred to as the ____.
A) tracking
B) dithering
C) kerning
D) pacing
A) tracking
B) dithering
C) kerning
D) pacing
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
75
A typeface in which each character has the same width and is often used to display programming code is ______
A) monospace
B) serif
C) cursive
D) fantasy
A) monospace
B) serif
C) cursive
D) fantasy
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
76
Graphic designers consider ____ easier to use because it allows you to guess at an
Initial color based on hue and then tweak the saturation and lightness values to fine-tune
The final color.
A) HTML
B) CSS
C) HSL
D) HTM
Initial color based on hue and then tweak the saturation and lightness values to fine-tune
The final color.
A) HTML
B) CSS
C) HSL
D) HTM
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
77
The amount of space between words is called ____.
A) kerning
B) tracking
C) pacing
D) dithering
A) kerning
B) tracking
C) pacing
D) dithering
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
78
Extending the first line of text to the left of the text block creates a ____ indent.
A) tracking
B) kerning
C) leading
D) hanging
A) tracking
B) kerning
C) leading
D) hanging
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
79
The default unit of length for kerning and tracking is the ____.
A) pica
B) pixel
C) point
D) inch
A) pica
B) pixel
C) point
D) inch
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck
80
If an element contains 12pt text,a length of 2em equals ____.
A) 24pts
B) 12pts
C) 4pts
D) 2pts
A) 24pts
B) 12pts
C) 4pts
D) 2pts
Unlock Deck
Unlock for access to all 137 flashcards in this deck.
Unlock Deck
k this deck