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