CSS CSS Margins Question #8911
Single Choice Easy

QWhich CSS property is used to remove the margin from an element?

ID: #8911 CSS Margins 142 views
Question Info
#8911Q ID
EasyDifficulty
CSS MarginsTopic

Choose the Best Option

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

  • A margin-top
  • B margin-left
  • C margin-right
  • D margin-none
Correct Answer

Explanation

There is no such value as margin-none in CSS. However, setting the margin property to 0 (or any other value that makes sense for your layout) will effectively remove the margin from an element.

Share This Question

Challenge a friend or share with your study group.