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