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