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