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