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 semicolon (;) after a declaration can be __________
presentation
The box model
screen
optional
2. Comic Sans is in the _____ font family
#
Cursive
property
selector
3. The space between lines of text
<property name>: <value>;
DOM (Document Object Model)
Leading (prounounce ledding)
hyphenated
4. A popular serif font for printing
deactivate
none
img {display: none;}
Times New Roman
5. Colors can be specified in CSS by either color names or _______
Monospace
selector
hex codes
JPEG (Joint Photographic Experts Group)
6. Comment structure for CSS
none
hex codes
/*blah blah blah*/
behavior
7. Syntax for a CSS declaration
<property name>: <value>;
rule set
img {display: none;}
/*blah blah blah*/
8. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
serifs
selector
#
nested
9. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
presentation
immaterial
Cursive
rule
10. Every CSS declaration has a ____ and a value
background-color
property
The box model
serifs
11. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
auto
site navigation
RGB triplet
serifs
12. Courier is in the _____ font family
PNG (Portable Network Graphics)
presentation
#
Monospace
13. XHTML attribute to set a styles sheet to print media only
hex codes
property
selector
media="print"
14. A triplet of numbers based on components of Red & Green and Blue
selector
JPEG (Joint Photographic Experts Group)
class
RGB triplet
15. When using an XHTML tag selector you must not use it with it's ________
angle braces
rule set
Cursive
presentation
16. XHTML is about ___________
/*blah blah blah*/
RWT (Responsive Web Design)
numeric value
structure
17. Arial and Verdana and Geneva are in the _____ font family
#
curly-braces
class
Sans-serif
18. Extension for a CSS file
Cursive
angle braces
Leading (prounounce ledding)
.css
19. 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
print
evil
presentation
Inline styles
20. HTML elements can be selected by element type - id or ______
JPEG (Joint Photographic Experts Group)
The box model
class
media="print"
21. CSS is about _________
presentation
class
<area>
color
22. Common name for { } 's
curly-braces
(X)HTML
Cursive
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
23. Height of the default font
Leading (prounounce ledding)
1em
class
background
24. A CSS ______ consists of a selector and a declaration block
background
Times New Roman
hyphenated
rule set
25. It is possible for a user to __________ style sheets from a web page
deactivate
link
serifs
@media print
26. Default media type for a link element containing a reference to styles
Sans-serif
screen
media="print"
href
27. Content Padding Border Margin
Sans-serif
The box model
RWT (Responsive Web Design)
rel="stylesheet"
28. Applied directly to the elements they affect
declaration
Inline styles
site navigation
none
29. Delimiters for a rule's declaration(s)
background-color
img {display: none;}
#
{ }
30. Given: p {color:red;text-align:center;} p is the selector there are 2 declarations and the entire style is known as a ________
@media print
rule
curly-braces
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
31. Comments in CSS cannot be _________
numeric value
nested
Monospace
href
32. Defines a group of elements
Sans-serif
{ }
Monospace
class
33. Spaces are _________
declaration block
evil
Tracking
@media print
34. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
@media print
print
JPEG (Joint Photographic Experts Group)
declaration
35. Best for photographs has about 16.7 million colors. Does NOT support transparency
nested
spaces
site navigation
JPEG (Joint Photographic Experts Group)
36. The space between words and phrases
Tracking
numeric value
Sans-serif
<style type="text/css"> /*styles go here*/ </styles>
37. Multiword properties are _____ words
DOM (Document Object Model)
hyphenated
Monospace
screen
38. To set margins and padding on printed pages you can use ____ as the unit of measure
<area>
in (inches)
Sans-serif
structure
39. Syntax shell for writing styles in a given web page (internal style sheets)
img {display: none;}
selector
<style type="text/css"> /*styles go here*/ </styles>
rule
40. Symbol used to specify a 'class' selector
background
serifs
Inline styles
. (period)
41. Commands to attach external style sheets to a given page should be placed in the _____ of the web page
Sans-serif
head
in (inches)
{ }
42. Javascript is about _________
<!-- blah blah blah -->
serifs
href
behavior
43. The _____ is the style attribute you want to change
Monospace
href
property
selector
44. HTML comment block syntax
<!-- blah blah blah -->
<style type="text/css"> /*styles go here*/ </styles>
head
site navigation
45. Times New Romanand Georgia are in the _____ font family
in (inches)
Serif
selector
1em
46. Empty tag used to connect an external style sheet to a web page
property
link
site navigation
. (period)
47. Multiple class names are delimited by ____
spaces
declaration
Leading (prounounce ledding)
serifs
48. CSS requires that you know the _______ structural commands
evil
structure
media="print"
(X)HTML
49. Support transparency and has more color choices that GIF. Not supported by all browsers
media="print"
presentation
<style type="text/css"> /*styles go here*/ </styles>
PNG (Portable Network Graphics)
50. A CSS rule that removes all images from a site
. (period)
img {display: none;}
rel="stylesheet"
{ }