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