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