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