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. Empty tag used to connect an external style sheet to a web page
Times New Roman
link
<property name>: <value>;
PNG (Portable Network Graphics)
2. CSS requires that you know the _______ structural commands
(X)HTML
link
PNG (Portable Network Graphics)
deactivate
3. Colors can be specified in CSS by either color names or _______
serifs
{ }
hex codes
presentation
4. Height of the default font
color
nested
1em
rule
5. Property for text color
spaces
selector
none
color
6. To set margins and padding on printed pages you can use ____ as the unit of measure
JPEG (Joint Photographic Experts Group)
class
in (inches)
media="print"
7. Property for background color
media="print"
property
declaration
background-color
8. A CSS ______ consists of a selector and a declaration block
evil
JPEG (Joint Photographic Experts Group)
behavior
rule set
9. Javascript is about _________
property
JPEG (Joint Photographic Experts Group)
<!-- blah blah blah -->
behavior
10. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
selector
@media print
Kerning
background-color
11. Syntax shell for writing styles in a given web page (internal style sheets)
presentation
JPEG (Joint Photographic Experts Group)
<style type="text/css"> /*styles go here*/ </styles>
{ }
12. Delimiters for a rule's declaration(s)
head
1em
{ }
behavior
13. Common name for { } 's
img {display: none;}
curly-braces
class
deactivate
14. 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
property
Serif
head
15. The space between words and phrases
Tracking
/*blah blah blah*/
class
hyphenated
16. Hyphenated properties (like 'font-family') must not include ________
optional
spaces
print
rule
17. When using an XHTML tag selector you must not use it with it's ________
rule
hyphenated
angle braces
curly-braces
18. The _____ is the style attribute you want to change
screen
property
declaration block
PNG (Portable Network Graphics)
19. Spaces are _________
link
evil
Leading (prounounce ledding)
structure
20. Best for photographs has about 16.7 million colors. Does NOT support transparency
behavior
JPEG (Joint Photographic Experts Group)
Tracking
1em
21. XHTML is about ___________
angle braces
structure
Tracking
Sans-serif
22. These tags are often (always?) nested in the <map> tag block
media="print"
<area>
screen
angle braces
23. 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
The box model
rule
Kerning
24. Courier is in the _____ font family
rel="stylesheet"
. (period)
behavior
Monospace
25. Comic Sans is in the _____ font family
print
<style type="text/css"> /*styles go here*/ </styles>
Cursive
Times New Roman
26. Defines a group of elements
behavior
<area>
class
property
27. Default media type for a link element containing a reference to styles
hyphenated
screen
Leading (prounounce ledding)
{ }
28. A triplet of numbers based on components of Red & Green and Blue
RGB triplet
<property name>: <value>;
immaterial
selector
29. It is possible for a user to __________ style sheets from a web page
hex codes
deactivate
background
(X)HTML
30. Making a website 'adapt' to look great on multiple platforms and devices
The box model
Monospace
screen
RWT (Responsive Web Design)
31. 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
screen
declaration block
property
32. HTML comment block syntax
<style type="text/css"> /*styles go here*/ </styles>
RWT (Responsive Web Design)
<!-- blah blah blah -->
The box model
33. Multiple class names are delimited by ____
nested
spaces
optional
auto
34. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
DOM (Document Object Model)
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
declaration
declaration block
35. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
none
color
immaterial
behavior
36. Symbol used to specify a 'class' selector
behavior
rule set
. (period)
<property name>: <value>;
37. Every CSS declaration has a ____ and a value
spaces
print
property
selector
38. The semicolon (;) after a declaration can be __________
/*blah blah blah*/
<property name>: <value>;
declaration block
optional
39. Extension for a CSS file
class
<area>
in (inches)
.css
40. The space between lines of text
Leading (prounounce ledding)
DOM (Document Object Model)
<area>
hyphenated
41. XHTML syntax for connecting an external style sheet to a given webpage if the name of the sheet is 'sitestyles.css'
. (period)
rel="stylesheet"
angle braces
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
42. Syntax for a CSS declaration
behavior
declaration
none
<property name>: <value>;
43. Multiword properties are _____ words
hyphenated
<style type="text/css"> /*styles go here*/ </styles>
Monospace
rel="stylesheet"
44. HTML elements can be selected by element type - id or ______
img {display: none;}
behavior
1em
class
45. Comment structure for CSS
link
/*blah blah blah*/
JPEG (Joint Photographic Experts Group)
Leading (prounounce ledding)
46. CSS is about _________
presentation
rule set
evil
optional
47. Applied directly to the elements they affect
JPEG (Joint Photographic Experts Group)
background-color
screen
Inline styles
48. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
. (period)
img {display: none;}
href
property
49. One way to do image rollovers is to use ______ images and the hover selector
/*blah blah blah*/
background
Leading (prounounce ledding)
.css
50. Attribute describing how a style sheet is related to an XHTML file it is connected to (complete statement)
rel="stylesheet"
numeric value
href
print