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