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