SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
CSS
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. The space between words and phrases
1em
hex codes
Tracking
rule set
2. The _____ is the style attribute you want to change
property
head
spaces
nested
3. HTML elements can be selected by element type - id or ______
class
DOM (Document Object Model)
rule
background
4. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
deactivate
print
<style type="text/css"> /*styles go here*/ </styles>
numeric value
5. Javascript is about _________
Tracking
background
serifs
behavior
6. Property for background color
background-color
img {display: none;}
property
hex codes
7. Ornamental part of some fonts
serifs
.css
curly-braces
declaration
8. Syntax shell for writing styles in a given web page (internal style sheets)
<property name>: <value>;
<style type="text/css"> /*styles go here*/ </styles>
background
/*blah blah blah*/
9. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
@media print
spaces
rule
selector
10. Extension for a CSS file
Inline styles
curly-braces
.css
declaration
11. XHTML attribute to set a styles sheet to print media only
media="print"
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
<property name>: <value>;
href
12. When you provide a link element for both screen and print you usually code the link element for the ____ style sheet last so you only have to override the rules that need to be changed
JPEG (Joint Photographic Experts Group)
print
rule
property
13. Content Padding Border Margin
evil
.css
The box model
RGB triplet
14. Making a website 'adapt' to look great on multiple platforms and devices
color
RGB triplet
site navigation
RWT (Responsive Web Design)
15. The space between lines of text
@media print
Leading (prounounce ledding)
Serif
<property name>: <value>;
16. Empty tag used to connect an external style sheet to a web page
screen
optional
evil
link
17. HTML comment block syntax
Times New Roman
property
<!-- blah blah blah -->
class
18. Best for photographs has about 16.7 million colors. Does NOT support transparency
JPEG (Joint Photographic Experts Group)
property
. (period)
angle braces
19. Comic Sans is in the _____ font family
color
media="print"
href
Cursive
20. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
color
class
Inline styles
@media print
21. The semicolon (;) after a declaration can be __________
auto
structure
optional
href
22. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
structure
href
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
.css
23. A CSS ______ consists of a selector and a declaration block
rule set
Tracking
declaration block
The box model
24. Support transparency and has more color choices that GIF. Not supported by all browsers
screen
angle braces
property
PNG (Portable Network Graphics)
25. Symbol used to specify a 'class' selector
. (period)
class
in (inches)
declaration block
26. Recommendations for formatting printed pages: Set text color to black & background color to white & font to serif; remove _________ and as many images as possible
href
1em
site navigation
property
27. It is possible for a user to __________ style sheets from a web page
behavior
declaration
/*blah blah blah*/
deactivate
28. Syntax for a CSS declaration
Kerning
<property name>: <value>;
structure
Leading (prounounce ledding)
29. Applied directly to the elements they affect
deactivate
background-color
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
Inline styles
30. Default media type for a link element containing a reference to styles
property
screen
hex codes
serifs
31. Colors can be specified in CSS by either color names or _______
screen
hex codes
Leading (prounounce ledding)
Tracking
32. Symbol used to specify an 'id' selector
#
Cursive
Sans-serif
RWT (Responsive Web Design)
33. Comments in CSS cannot be _________
class
declaration block
nested
evil
34. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
serifs
declaration
link
<area>
35. A CSS ___________ consists of an opening brace & zero or more declarations and a closing brace
Inline styles
spaces
declaration block
class
36. Every CSS declaration has a ____ and a value
optional
RWT (Responsive Web Design)
structure
property
37. Property for text color
none
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
color
1em
38. Times New Romanand Georgia are in the _____ font family
property
presentation
class
Serif
39. Comment structure for CSS
screen
/*blah blah blah*/
class
The box model
40. Hyphenated properties (like 'font-family') must not include ________
head
spaces
color
angle braces
41. Spaces are _________
evil
property
1em
optional
42. Height of the default font
@media print
<style type="text/css"> /*styles go here*/ </styles>
Kerning
1em
43. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
immaterial
. (period)
{ }
Sans-serif
44. Courier is in the _____ font family
Inline styles
href
Monospace
rel="stylesheet"
45. CSS is about _________
media="print"
<!-- blah blah blah -->
presentation
Kerning
46. Defines a group of elements
(X)HTML
declaration block
class
/*blah blah blah*/
47. One way to do image rollovers is to use ______ images and the hover selector
background
in (inches)
RGB triplet
angle braces
48. These tags are often (always?) nested in the <map> tag block
property
#
<area>
Cursive
49. CSS requires that you know the _______ structural commands
<style type="text/css"> /*styles go here*/ </styles>
Serif
(X)HTML
optional
50. The amount of space between characters
/*blah blah blah*/
link
auto
Kerning