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