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