Single Choice Easy

QWhich CSS property is used to set the margin for the top and bottom sides of an element separately from the left and right sides?

ID: #8918 CSS Margins 181 views
Question Info
#8918Q ID
EasyDifficulty
CSS MarginsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A margin-vertical ✔ ✖
  • B margin-horizontal ✔ ✖
  • C margin-top-bottom, margin-left-right ✔ ✖
  • D margin-separate ✔ ✖
Correct Answer

Explanation

The margin-vertical property is used to set the margin for the top and bottom sides of an element separately from the left and right sides.

Share This Question

Challenge a friend or share with your study group.