TipsMake

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

Discover more

tutorials quizzes tests CSS programming equiz knowledge basic technical optimization language management monitoring web programming web design
Micah Soto

Share by

Micah Soto
Update 24 May 2019