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