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