Which CSS property adds space outside an element?
-
A
padding
-
B
margin
Correct answer
-
C
border
-
D
spacing
9 views
Explanation
margin adds space outside an element's border. Source: Standard CSS content (FBISE-aligned).
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ