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