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