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