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