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