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