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