CSS test with answer - Part 2

A set of multiple choice questions about CSS programming for you to try and understand.
  1. Question 1. What properties change the font size?
    1. font-style
    2. font-size
    3. text-style
    4. text-size
  2. Sentence 2. Which attribute makes the text in tag p become bold?
    1. {text-size: bold}
    2.  

    3.  

    4. p {font-weight: bold}
  3. Question 3. How to display links without underlined below?
    1. a {decoration: no underline}
    2. a {text-decoration: no underline}
    3. a {underline: none}
    4. a {text-decoration: none}
  4. Question 4. How can each word in a form be capitalized at the beginning?
    1. text-transform: capitalize
    2. text-transform: uppercase
    3. You cannot do this in CSS
    4. There is no right answer
  5. Question 5. How to change the font of each element?
    1. font =
    2. f:
    3. font-family:
    4. All of the above statements are wrong.
  6. Question 6. How to create bold letters?
    1. font-weight: bold
    2. style: bold
    3. font: b
    4. All of the above are true
  7. Question 7. How to display the border of an element with the following border size: The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel?
    1. border-width: 5px 20px 10px 1px
    2. border-width: 10px 5px 20px 1px
    3. border-width: 10px 1px 5px 20px
    4. border-width: 10px 20px 5px 1px
  8. Question 8. How to change the left margin of an element?
    1. margin-left:
    2. text-indent:
    3. margin:
    4. indent:
  9. Question 9. To define the space between the edges (edges) of the element and the content, you use the padding attribute, can you assign a negative value to this attribute?
    1. Have
    2. Is not
  10. Question 10. How does the image at the top of each content of 1list have a square?
    1. type: 2
    2. type: square
    3. list-type: square
    4. list-style-type: square
4 ★ | 1 Vote