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