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