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