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