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