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