CSS test with answer P3

In the following article, please join the Network Administrator to learn about this language through multiple choice questions.
  1. Question 1. Which line follows the syntax of CSS?
    1. body {color: black}
    2. {body; color: black}
    3. body: color = black
    4. {body: color = black (body}
  2. Question 2. Which line shows exactly one comment (comment) in CSS?
    1. / * this is a comment * /
    2. // this is a comment //
    3. 'this is a comment'
    4. // this is a comment
  3. Question 3. Which line is used to change the background color?
    1. color:
    2. bgcolor:
    3. background-color:
    4. All right
  4. Question 4. How to add background color to all elements

    ?

    1. h1.all {background-color: #FFFFFF}
    2. h1 {background-color: #FFFFFF}
    3. all.h1 {background-color: #FFFFFF}
    4. All right
  5. Question 5. How to change the background color of the text (text)?
    1. text-color =
    2. fgcolor:
    3. color:
    4. text-color:
  6. Question 6. a: hover is:
    1. Links not visited
    2. Hover a component
    3. Links visited
    4. Activate a component
  7. Question 7. There are several places to put CSS
    1. first
    2. 2
    3. 3
    4. 4
  8. Question 8. Which line puts hinh.jpg image as web page background image
    1. bg-image: hinh.jpg
    2. background-image: hinh.jpg}
    3. background-image: url = hinh.jpg
    4. background-image: url (hinh.jpg) one}
  9. Question 9. Which line to set fixed background image
    1. background-attachment: fix
    2. background-attachment: fixed
    3. background-attachment: scroll
    4. All is wrong
  10. Question 10. Which line to set the alignment of the text
    1. text-align: center
    2. text-align: justify
    3. font-align: center
    4. font-align: justify
5 ★ | 1 Vote