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