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