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