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