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