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