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