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