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