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