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