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