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