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