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