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