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