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