Deck 7: Using Advanced Cascading Style Sheets

Full screen (f)
exit full mode
Question
The ____ property is a good way to add additional space between words.

A) tracking
B) leading
C) kerning
D) word-spacing
Use Space or
up arrow
down arrow
to flip the card.
Question
A(n) ____ style sheet is used to change the style within an individual HTML tag.

A) embedded
B) external
C) inline
D) dynamic
Question
If you want to change the style of one or a few sections of a single Web page, then using ____ style sheets is the most appropriate

A) embedded
B) external
C) inline
D) dynamic
Question
A(n) ____ statement must be inserted into all Web pages in which you want to use an external style sheet.

A) index
B) connect
C) link
D) attach
Question
If you have several Web pages and need a consistent style that can be easily updated, ____ is a good choice.

A) DHTML
B) CSS
C) XML
D) both a and c
Question
A(n) ____ style sheet is used to change the style of multiple pages in a Web site.

A) embedded
B) external
C) inline
D) dynamic
Question
In the padding property statement, padding: 25px 50px 75px 100px; the top padding is ____.

A) 100px
B) 75px
C) 50px
D) 25px
Question
The ____ is a very useful unit in CSS because it adapts automatically to the font size that the Web page visitor uses.

A) ex
B) em
C) pica
D) point
Question
Within the style tag container, Web developers generally follow the coding practice to add HTML ____ tags.

A) index
B) body
C) comment
D) format
Question
All of the following are types of CSS EXCEPT ____.

A) embedded
B) inline
C) dynamic
D) external
Question
For Web pages in which you want a common look, use ____ style sheets.

A) embedded
B) external
C) inline
D) dynamic
Question
A ____ is a rule that defines the appearance of an element on a Web page.

A) style
B) view
C) format
D) cascade
Question
The padding property uses the ____ property code.

A) shorthand
B) abridged
C) concatenated
D) indexed
Question
The code for an embedded style sheet must be inserted between start and end ____ tags.

A)
Question
A style ____ is a series of rules that defines the style for a Web page or an entire Web site.

A) grid
B) sheet
C) document
D) table
Question
If you specify line-height by number, the browser uses the ____ property to determine the space.

A) font-size
B) line-size
C) line-space
D) tracking
Question
A(n) ____ style sheet is used to change the style of one Web page.

A) embedded
B) external
C) inline
D) dynamic
Question
In the padding property statement, padding: 25px 50px 75px; the left padding is ____.

A) 100px
B) 75px
C) 50px
D) 25px
Question
Which of the following kinds of style sheets are overridden by inline styles?

A) embedded
B) external
C) neither a nor b
D) both a and b
Question
Which of the following is NOT a way to add the line-height value?

A) by number
B) by percentage
C) by length
D) by style
Question
A(n) ____ is equivalent to 1/72 of an inch.

A) pica
B) point
C) pixel
D) em
Question
Which of the following is NOT a position property value?

A) dynamic
B) fixed
C) absolute
D) static
Question
Which of the following is a measurement value for padding?

A) &
B) pt
C) er
D) pd
Question
Which of the following is not an element of the box model?

A) content
B) border
C) padding
D) format
Question
The ____ property value generates a relatively positioned element, positioned relative to its normal position.

A) absolute
B) relative
C) fixed
D) static
Question
A(n) ____ is equivalent to 12 points.

A) pixel
B) pica
C) ex
D) em
Question
The ____ code sets the style so that the Web page element remains constant and does not move.

A) placement: fixed
B) index: permanent
C) order: absolute
D) position: absolute
Question
You can set specific styles using the ____ tags.

A)

B)
C)
D)
Question
With external style sheets, the link statement is placed between the ____ tags.

A)
B)
C)
D)
Question
If you do not use the ____ property, the elements display on the Web page in the order in which they appear.

A) order
B) index
C) placement
D) position
Question
With the font-weight property, normal text that is not bold has a value of ____.

A) 4
B) 40
C) 400
D) 4000
Question
One ____ is the x-height of a font.

A) pc
B) ex
C) pt
D) em
Question
The ____ property value is the default.

A) absolute
B) relative
C) fixed
D) static
Question
The ____ property value places the element in the normal flow.

A) absolute
B) relative
C) fixed
D) static
Question
The measurement x-height is usually about ____ the font size.

A) one-eighth
B) one-quarter
C) half
D) double
Question
The ____ property value generates an absolutely positioned element, positioned relative to the browser window.

A) absolute
B) relative
C) fixed
D) static
Question
The ____ model describes the structure of the elements that are displayed on the Web page.

A) space
B) spatial
C) visual
D) box
Question
You can specify font-weight using numerical values from ____.

A) 1 to 10
B) 100 to 900
C) 100 to 1000
D) 1000 to 5000
Question
The ____ property value generates an absolutely positioned element, positioned relative to the first parent element that has a position other than static.

A) absolute
B) relative
C) fixed
D) static
Question
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.

A) italic
B) headings
C) colors
D) tables
Question
The padding property can have one to four values.
Question
The ex unit adapts automatically to the font size that the Web page visitor uses.
Question
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.

A) dynamic
B) embedded
C) external
D) inline
Question
If you find that the style from an embedded style sheet is used on more Web pages as time goes on, you should create an external style sheet and link it into all Web pages in which you had previously inserted an embedded style sheet.
Question
If there are styles that are to be repeated in a particular Web page (or in a few pages), you would be better off using an inline style sheet rather than an embedded style sheet.
Question
External style sheets override inline styles and embedded style sheets.
Question
Which of the following is a unit of measurement you can use with the line-height property?

A) inch
B) pt
C) em
D) ex
Question
The greatest benefit of CSS is the ability to identify a style across a Web site.
Question
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. _________________________
Question
You can specify all the padding values in a single property.
Question
You can use shorthand properties with ____.

A) padding
B) margins
C) borders
D) fonts
Question
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.
Question
The unit 1ex is equal to the current font size. _________________________
Question
With the line-height property, you can control the horizontal spacing between lines of text. _________________________
Question
Which of the following is a length unit used with the word-spacing property?

A) inches
B) points
C) centimeters
D) picas
Question
If you want all paragraphs of text to have the same style within one Web page, then it makes more sense to embed that style rather than add the style to each paragraph tag within the Web page.
Question
The embedded style sheet overrides inline style sheets. _________________________
Question
For Web sites with many Web pages that have a common look, a(n) embedded style sheet may be the best option. _________________________
Question
CSS is rarely used for formatting Web pages with tabular material because it is ill-suited to the task.
Question
HTML
Question
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.
Question
The unit ____________________ means pixels.
Question
To expand the possibilities of CSS, you can use ____________________ (e.g., the link hover).
Question
Determining an effective structure of your Web pages involves correctly determining the box model controls.
Question
To link a style sheet to a Web page, the tag must use "text/css" as the value for the type property.
Question
The hover technique used for links adds a bit of interactivity and can be used to help highlight the menu and submenu structure for the user.
Question
The embedded style sheet is the most powerful and lowest precedence style sheet.
Question
The ____________________ property allows a Web developer to shorten the code.
Question
You can limit what prints by creating an external style sheet that is used specifically to se the styles for a printed Web page.
Question
You can find an abundance of information on the box model troubleshooting tools like those in Firebug or Google Chrome's Developer Tools.
Question
A(n) ____________________ is a dot on the computer screen.
Question
The general format of the tag is .
Question
With the font-weight property, each larger number is at least as bold as the one above it.
Question
In the tag, , the external style sheet is located in the main or root directory of the Web site.
Question
Page selectors give a Web developer the flexibility to designate the first page, all left pages, or all right pages.
Question
With ____________________ you can establish a standard look for all Web pages on a Web site.
Question
Paged media is the same as continuous media in that the content of the document is not split into one or more discrete pages.
Question
With the font-weight property, 100 is the boldest option of the font.
Question
The user determines how bold each font-weight value is as he or she displays the Web page.
Question
The CSS ____________________ property gives you the ability to control line height.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/111
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 7: Using Advanced Cascading Style Sheets
1
The ____ property is a good way to add additional space between words.

A) tracking
B) leading
C) kerning
D) word-spacing
D
2
A(n) ____ style sheet is used to change the style within an individual HTML tag.

A) embedded
B) external
C) inline
D) dynamic
C
3
If you want to change the style of one or a few sections of a single Web page, then using ____ style sheets is the most appropriate

A) embedded
B) external
C) inline
D) dynamic
C
4
A(n) ____ statement must be inserted into all Web pages in which you want to use an external style sheet.

A) index
B) connect
C) link
D) attach
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
5
If you have several Web pages and need a consistent style that can be easily updated, ____ is a good choice.

A) DHTML
B) CSS
C) XML
D) both a and c
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
6
A(n) ____ style sheet is used to change the style of multiple pages in a Web site.

A) embedded
B) external
C) inline
D) dynamic
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
7
In the padding property statement, padding: 25px 50px 75px 100px; the top padding is ____.

A) 100px
B) 75px
C) 50px
D) 25px
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
8
The ____ is a very useful unit in CSS because it adapts automatically to the font size that the Web page visitor uses.

A) ex
B) em
C) pica
D) point
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
9
Within the style tag container, Web developers generally follow the coding practice to add HTML ____ tags.

A) index
B) body
C) comment
D) format
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
10
All of the following are types of CSS EXCEPT ____.

A) embedded
B) inline
C) dynamic
D) external
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
11
For Web pages in which you want a common look, use ____ style sheets.

A) embedded
B) external
C) inline
D) dynamic
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
12
A ____ is a rule that defines the appearance of an element on a Web page.

A) style
B) view
C) format
D) cascade
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
13
The padding property uses the ____ property code.

A) shorthand
B) abridged
C) concatenated
D) indexed
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
14
The code for an embedded style sheet must be inserted between start and end ____ tags.

A)
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
15
A style ____ is a series of rules that defines the style for a Web page or an entire Web site.

A) grid
B) sheet
C) document
D) table
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
16
If you specify line-height by number, the browser uses the ____ property to determine the space.

A) font-size
B) line-size
C) line-space
D) tracking
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
17
A(n) ____ style sheet is used to change the style of one Web page.

A) embedded
B) external
C) inline
D) dynamic
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
18
In the padding property statement, padding: 25px 50px 75px; the left padding is ____.

A) 100px
B) 75px
C) 50px
D) 25px
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following kinds of style sheets are overridden by inline styles?

A) embedded
B) external
C) neither a nor b
D) both a and b
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following is NOT a way to add the line-height value?

A) by number
B) by percentage
C) by length
D) by style
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
21
A(n) ____ is equivalent to 1/72 of an inch.

A) pica
B) point
C) pixel
D) em
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following is NOT a position property value?

A) dynamic
B) fixed
C) absolute
D) static
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is a measurement value for padding?

A) &
B) pt
C) er
D) pd
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following is not an element of the box model?

A) content
B) border
C) padding
D) format
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
25
The ____ property value generates a relatively positioned element, positioned relative to its normal position.

A) absolute
B) relative
C) fixed
D) static
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
26
A(n) ____ is equivalent to 12 points.

A) pixel
B) pica
C) ex
D) em
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
27
The ____ code sets the style so that the Web page element remains constant and does not move.

A) placement: fixed
B) index: permanent
C) order: absolute
D) position: absolute
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
28
You can set specific styles using the ____ tags.

A)

B)
C)
D)
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
29
With external style sheets, the link statement is placed between the ____ tags.

A)
B)
C)
D)
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
30
If you do not use the ____ property, the elements display on the Web page in the order in which they appear.

A) order
B) index
C) placement
D) position
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
31
With the font-weight property, normal text that is not bold has a value of ____.

A) 4
B) 40
C) 400
D) 4000
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
32
One ____ is the x-height of a font.

A) pc
B) ex
C) pt
D) em
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
33
The ____ property value is the default.

A) absolute
B) relative
C) fixed
D) static
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
34
The ____ property value places the element in the normal flow.

A) absolute
B) relative
C) fixed
D) static
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
35
The measurement x-height is usually about ____ the font size.

A) one-eighth
B) one-quarter
C) half
D) double
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
36
The ____ property value generates an absolutely positioned element, positioned relative to the browser window.

A) absolute
B) relative
C) fixed
D) static
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
37
The ____ model describes the structure of the elements that are displayed on the Web page.

A) space
B) spatial
C) visual
D) box
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
38
You can specify font-weight using numerical values from ____.

A) 1 to 10
B) 100 to 900
C) 100 to 1000
D) 1000 to 5000
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
39
The ____ property value generates an absolutely positioned element, positioned relative to the first parent element that has a position other than static.

A) absolute
B) relative
C) fixed
D) static
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
40
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.

A) italic
B) headings
C) colors
D) tables
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
41
The padding property can have one to four values.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
42
The ex unit adapts automatically to the font size that the Web page visitor uses.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
43
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.

A) dynamic
B) embedded
C) external
D) inline
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
44
If you find that the style from an embedded style sheet is used on more Web pages as time goes on, you should create an external style sheet and link it into all Web pages in which you had previously inserted an embedded style sheet.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
45
If there are styles that are to be repeated in a particular Web page (or in a few pages), you would be better off using an inline style sheet rather than an embedded style sheet.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
46
External style sheets override inline styles and embedded style sheets.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
47
Which of the following is a unit of measurement you can use with the line-height property?

A) inch
B) pt
C) em
D) ex
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
48
The greatest benefit of CSS is the ability to identify a style across a Web site.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
49
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. _________________________
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
50
You can specify all the padding values in a single property.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
51
You can use shorthand properties with ____.

A) padding
B) margins
C) borders
D) fonts
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
52
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.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
53
The unit 1ex is equal to the current font size. _________________________
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
54
With the line-height property, you can control the horizontal spacing between lines of text. _________________________
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
55
Which of the following is a length unit used with the word-spacing property?

A) inches
B) points
C) centimeters
D) picas
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
56
If you want all paragraphs of text to have the same style within one Web page, then it makes more sense to embed that style rather than add the style to each paragraph tag within the Web page.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
57
The embedded style sheet overrides inline style sheets. _________________________
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
58
For Web sites with many Web pages that have a common look, a(n) embedded style sheet may be the best option. _________________________
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
59
CSS is rarely used for formatting Web pages with tabular material because it is ill-suited to the task.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
60
HTML
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
61
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.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
62
The unit ____________________ means pixels.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
63
To expand the possibilities of CSS, you can use ____________________ (e.g., the link hover).
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
64
Determining an effective structure of your Web pages involves correctly determining the box model controls.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
65
To link a style sheet to a Web page, the tag must use "text/css" as the value for the type property.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
66
The hover technique used for links adds a bit of interactivity and can be used to help highlight the menu and submenu structure for the user.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
67
The embedded style sheet is the most powerful and lowest precedence style sheet.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
68
The ____________________ property allows a Web developer to shorten the code.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
69
You can limit what prints by creating an external style sheet that is used specifically to se the styles for a printed Web page.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
70
You can find an abundance of information on the box model troubleshooting tools like those in Firebug or Google Chrome's Developer Tools.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
71
A(n) ____________________ is a dot on the computer screen.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
72
The general format of the tag is .
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
73
With the font-weight property, each larger number is at least as bold as the one above it.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
74
In the tag, , the external style sheet is located in the main or root directory of the Web site.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
75
Page selectors give a Web developer the flexibility to designate the first page, all left pages, or all right pages.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
76
With ____________________ you can establish a standard look for all Web pages on a Web site.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
77
Paged media is the same as continuous media in that the content of the document is not split into one or more discrete pages.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
78
With the font-weight property, 100 is the boldest option of the font.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
79
The user determines how bold each font-weight value is as he or she displays the Web page.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
80
The CSS ____________________ property gives you the ability to control line height.
Unlock Deck
Unlock for access to all 111 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 111 flashcards in this deck.