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