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