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