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