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