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