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