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