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