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