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