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