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