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