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