Test questions
1) Which HTML element is used to link to an external style sheet?
— CHOOSE YOUR ANSWER —
<css>
<link>
<style>
<script>
all of the above
none of the above
2) Where in HTML code is the correct place for an internal style sheet?
— CHOOSE YOUR ANSWER —
At the beginning of the document
In the <head> section
In the <body> section
At the end of the document
all of the above
none of the above
3) Which CSS declaration results in bold text?
— CHOOSE YOUR ANSWER —
{ font: b}
{ style: bold }
{ text: bold }
{ font-weight: bold }
all of the above
none of the above
4) Which CSS rule results in <a> elements displaying without an underline?
— CHOOSE YOUR ANSWER —
a { underline: no-underline }
a { text-decoration: none }
a { text-decoration: no-underline }
{ text-decoration: no }
all of the above
none of the above
5) Which CSS rule places squares in front of list items?
— CHOOSE YOUR ANSWER —
li { type: square }
li { list-style-type: box }
li { list-type: square }
li { style-list: square }
all of the above
none of the above
6) Which CSS declaration is used to center text?
— CHOOSE YOUR ANSWER —
{ center: true }
{ text-center: true }
{ align: center }
{ text-align: center }
all of the above
none of the above
7) Which CSS property is used to change the background color of an element?
— CHOOSE YOUR ANSWER —
background-color
bg-color
backcolor
color
all of the above
none of the above
8) ) How do you insert a comment in a CSS file?
— CHOOSE YOUR ANSWER —
# this is a comment
/* this is a comment */
(( this is a comment
\this is a comment\
all of the above
none of the above
9) Can you use the same ID more than once in the same Web page?
— CHOOSE YOUR ANSWER —
yes
no
it depends on the weather
it depends on your mood
all of the above
none of the above
10) Can you use the same ID more than once in the same Web site?
— CHOOSE YOUR ANSWER —
yes
no
it depends on the weather
it depends on your mood
all of the above
none of the above
Do not click the Submit button unless you have answered all questions, and you are sure of your answers!
You will not have a chance to go back once you submit this form.