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