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