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