LinkedIn CSS Skill Assessment Quiz Answers

What is the difference between the margin and padding properties?

Latest Update on 23rd March, 2022 by Certification Course Answers

What is the difference between the margin and padding properties?

  1.  Margin adds space around and inside of an element; padding adds space only inside of an element.
  2.  Margin adds space around an element; padding adds space inside of an element.
  3.  Margin adds a line around an element, padding adds space inside of an element.
  4.  Margin adds space inside of an element, padding adds space around an element.

Correct Answer:

  •  Margin adds space around an element; padding adds space inside of an element.

Latest Updates

No posts found in this category.