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