CSS CSS Margins Question #8914
MCQ Single Best Answer Easy

QWhich CSS property is used to set the margin for each side of an element separately?

ID: #8914 CSS Margins 139 views
Question Info
#8914Q ID
EasyDifficulty
CSS MarginsTopic

Choose the Best Option

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

  • A margin
  • B margin-top, margin-right, margin-bottom, margin-left
  • C margin-vertical, margin-horizontal
  • D margin-individual
Correct Answer: Option B

Explanation

To set the margin for each side of an element separately, you can use the margin-top, margin-right, margin-bottom, and margin-left properties.

Share This Question

Challenge a friend or share with your study group.