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