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