Test of CSS knowledge - Part 6

  1. Question 1: What attributes are used to create distances between elements?
    1. margin
    2. spacing
    3. padding
    4. border
  2. Question 2: Which attribute is used to create the distance between the border and the content inside the element?

    1. margin
    2. spacing
    3. padding
    4. border
  3. Question 3: What attributes are used to create space between text lines?
    1. line-spacing
    2. line-height
    3. spacing
    4. letter-spacing
  4. Question 4: How can I format the elements on the same row?
    1. display: left;
    2. display: inline;
    3. display: horizontal;
    4. There is no right answer
  5. Question 5: If you want to create an interesting footer attached to the bottom of the user window (not just at the bottom of the page), what attributes would you use?
    1. position and bottom
    2. display and float
    3. position and float
    4. display and bottom
  6. Question 6: What attributes are needed to install an image in the background?
    1. image
    2. background-image
    3. background: image
    4. image: background
  7. Question 7: What is the valid CSS attribute used to place an element on the right side of its container?
    1. display: right;
    2. float-right: 0px;
    3. display-right: 0px;
    4. float: right;
  8. Question 8: In a table, how to get the background color of alternating rows?
    1. tr: even {background-color: #CCC;}
    2. td: even {background-color: #CCC;}
    3. td: nth-child (even) {background-color: #CCC;}
    4. tr: nth-child (even) {background-color: #CCC;}
  9. Question 9: What attributes would you use to change the border of the element?
    1. border-size: 5px;
    2. border: width: 5px;
    3. border-width: 5px;
    4. border: size: 5px;
  10. Question 10: What attributes are used to change the display list type to Roman numerals instead of normal numbers?
    1. list-style-type: upper-roman;
    2. list-type: roman;
    3. list-bullet-type: roman-numerals;
    4. list-style: roman;
5 ★ | 2 Vote

May be interested

  • Test of CSS knowledge - Part 7Photo of Test of CSS knowledge - Part 7
    if you are learning about css, the following quiz of network administrator will provide useful knowledge for your learning.
  • Test of CSS knowledge - Part 8Photo of Test of CSS knowledge - Part 8
    set of multiple choice questions about css programming language, invite readers to test their knowledge with 10 questions including many answers, please choose the best answer.
  • Test of CSS knowledge - Part 9Photo of Test of CSS knowledge - Part 9
    read on to continue your knowledge with the sequel to tipsmake.com's css test series. the question set will have 10 sentences to try.
  • You have confidence in your Network Administration knowledge P10Photo of You have confidence in your Network Administration knowledge P10
    in order to become a network administrator, you need to master the knowledge related to this topic. to help readers gain more knowledge about network administration, the following test will give you many useful things.
  • What do you know about the outstanding features on Bphone 3Photo of What do you know about the outstanding features on Bphone 3
    in this quiz, please join the network administrator to learn about the outstanding features on the recently launched bphone 3 phone of bkav.
  • Test on JAVA P10 testPhoto of Test on JAVA P10 test
    multiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.