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