CSS test with answer P3
In the following article, please join the Network Administrator to learn about this language through multiple choice questions.
- Question 1. Which line follows the syntax of CSS?
- body {color: black}
- {body; color: black}
- body: color = black
- {body: color = black (body}
-
- Question 2. Which line shows exactly one comment (comment) in CSS?
- / * this is a comment * /
- // this is a comment //
- 'this is a comment'
- // this is a comment
-
- Question 3. Which line is used to change the background color?
- color:
- bgcolor:
- background-color:
- All right
-
- Question 4. How to add background color to all elements
?
- h1.all {background-color: #FFFFFF}
- h1 {background-color: #FFFFFF}
- all.h1 {background-color: #FFFFFF}
- All right
-
- Question 5. How to change the background color of the text (text)?
- text-color =
- fgcolor:
- color:
- text-color:
-
- Question 6. a: hover is:
- Links not visited
- Hover a component
- Links visited
- Activate a component
-
- Question 7. There are several places to put CSS
- first
- 2
- 3
- 4
-
- Question 8. Which line puts hinh.jpg image as web page background image
- bg-image: hinh.jpg
- background-image: hinh.jpg}
- background-image: url = hinh.jpg
- background-image: url (hinh.jpg) one}
-
- Question 9. Which line to set fixed background image
- background-attachment: fix
- background-attachment: fixed
- background-attachment: scroll
- All is wrong
-
- Question 10. Which line to set the alignment of the text
- text-align: center
- text-align: justify
- font-align: center
- font-align: justify
-
5 ★ | 1 Vote
You should read it
- CSS test with answer - Part 2
- eQuiz - A quiz about CSS
- CSS test with answer - Part 1
- eQuiz - Multiple choice test on SQL
- eQuiz - Multiple choice test on ASP
- JAVA test on P6
- Test of CSS knowledge - Part 5
- Test of CSS knowledge - Part 8
- JAVA test on P3
- JAVA test test P1
- Test on JAVA test P5
- Test of CSS knowledge - Part 9