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