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