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